The gist containing this content and be found here.
conda create -n kindle python=3.7 pip six fuzzysearch fundamentals tabulate pandas
conda activate kindle
pip install PyMuPDF
The gist containing this content and be found here.
conda create -n kindle python=3.7 pip six fuzzysearch fundamentals tabulate pandas
conda activate kindle
pip install PyMuPDF
The gist containing this content and be found here.
Use this script to stitch together the simulated SOXS data (from E2E simulator) with official SOXS FITS headers (from NGC controller software).
conda create -n soxsim python=3.7 pip six pandas tabulate astropy
This script can be used to generate plots of spectra contained in the ESO Fits Binary Table format, and optionally include a visualisation of an associated 2D spectral image.
The gist containing this content and be found here.
conda create -n plot_spectrum python=3.7 pip six matplotlib specutils numpy colour ccdproc
This code has been rehomed in this github repo.
In ZTF speak a candidate is a single detection and an object is a collection of associated candidates. I wanted to visualise (see plot above) the distribution of the number of candidates (ncand
) that go into making a ZTF object.
To generate the CANDIDATE table distribution data in candidate_ncand_dist.csv
I run the following query on Lasair (April 8, 2020):
SELECT
#!/usr/bin/env python | |
# encoding: utf-8 | |
""" | |
*Ingest FITS data downloaded from MAST into Sherlock Database* | |
:Author: | |
David Young | |
:Date Created: | |
January 9, 2020 |
I use this script on my linux machines to whitelist a single folder located in my ~/Dropbox/server-sync
directory. Here I have a separate folder for each of my servers.
To run the script use:
dropbox_whitelist [options] <serverName>
-k|--keep keep all byproduct files (use for debugging)
Here you will find VOEvent packet examples for the 4 types of LV event alerts:
Preliminary GCN Notice. The automated preliminary notice is sent (via GCN) within 1-10 minutes of event detection and the trigger visible in GraceDB. Once a map has been generated a second preliminary notice is sent.
Initial GCN Notices. A source classification (BNS, NSBH, BHBH ..) and updated skymap will be released within 4-24 hrs. The initial notice is also accompanied by a GCN Circular which is the first formal publication of the candidate and can be cited as such.
# This file shows the minimum example of a Python based EsoRex recipe that can | |
# be integrated into a EsoReflex workflow, i.e. executed with the RecipeExecuter | |
# actor. | |
# The appropriate module needs to first be loaded that provides the facilities | |
# for declaring an EsoRex recipe plugin. | |
import esorexplugin | |
# Additionally it is convenient to import some of the utility functions from the | |
# module directly into this code's namespace. Note, the import statement above |