Libraries in the lib subdirectory:
mosthosts_desi.py
— for figuring out which Most Hosts objects have DESI targets and observationsdesi_specfinder.py
— for loading a DESI spectrum at user-specified RA/Dec; uses the DESI-standard desisepc librarymosthosts_skyportal.py
— link to the DESI SkyPortal [CURRENTLY BROKEN]
This library mosthosts_desi.py
has a class that reads the mosthosts table into a Pandas dataframe, and then adds information for all of the hosts from the zbest_daily and public_fibermap DESI tables. Look at that file for documentation, or do:
from mostshost_desi import MostHostsDesi
help(MostHostsDesi)
The jupyter notebook specmatch.ipynb
is an example of using this library.
For help, do:
from desi_specfinder import SpectrumFinder
help(SpectrumFinder)
Examples of use are in the jupyter noteboos desi_spec_at_radec.ipynb
and desi_pullspec.ipynb
.
Some of this is random maintenance stuff I use:
scripts/spectrum_uploader.py
— I use this to upload spectra to the DESI SkyPortal. I haven't actually run this repository's file in a long time, so I'm not sure it works; Autmun Awbrey has been doing the SkyPortal spectrum uploading in recent months.mosthosts_source_info.py
— A hack script used to diagnose SkyPortal name mismatches (which still needs to be completed!)*.csv
— cached files written when I make aMostHostsDesi
object (frommosthosts_desi.py
). These CSV files may be useful as a cache of information about MostHosts, but of course they're not necessarily going to be up to date.