EXOSIMS.StarCatalog package
Submodules
EXOSIMS.StarCatalog.EXOCAT1 module
- class EXOSIMS.StarCatalog.EXOCAT1.EXOCAT1(catalogpath=None, wdsfilepath=None, **specs)[source]
Bases:
StarCatalog
EXOCAT Catalog class
This class populates the star catalog used in EXOSIMS from Margaret Turnbull’s EXOCAT catalog, retrieved from the NASA Exoplanet Archive as a VOTABLE. Documentation of fields available at: https://exoplanetarchive.ipac.caltech.edu/docs/API_mission_stars.html
- Only StarCatalog prototype attributes are used.
EXOSIMS.StarCatalog.FakeCatalog module
- class EXOSIMS.StarCatalog.FakeCatalog.FakeCatalog(ntargs=1000, star_dist=5, ra0=0, dec0=0, **specs)[source]
Bases:
StarCatalog
Fake Catalog class This class generates an artificial target list of stars with a logistic distribution.
- Parameters:
EXOSIMS.StarCatalog.FakeCatalog_UniformAngles module
- class EXOSIMS.StarCatalog.FakeCatalog_UniformAngles.FakeCatalog_UniformAngles(ntargs=20, star_dist=5, **specs)[source]
Bases:
StarCatalog
Fake Catalog of stars separated uniformly by angle
Generate a fake catalog of stars that are uniformly separated.
EXOSIMS.StarCatalog.FakeCatalog_UniformSpacing_wInput module
- class EXOSIMS.StarCatalog.FakeCatalog_UniformSpacing_wInput.FakeCatalog_UniformSpacing_wInput(lat_sep=0.3, lon_sep=0.3, star_dist=10, lat_extra=array([], dtype=float64), lon_extra=array([], dtype=float64), dist_extra=array([], dtype=float64), **specs)[source]
Bases:
StarCatalog
EXOSIMS.StarCatalog.GaiaCat1 module
- class EXOSIMS.StarCatalog.GaiaCat1.GaiaCat1(catalogfile='Glt15Dlt200DSNgt4-result.fits', **specs)[source]
Bases:
StarCatalog
Gaia-derived Catalog class
This class populates the star catalog used in EXOSIMS from a dump of Gaia DR2 data.
- Only StarCatalog prototype attributes are used.
EXOSIMS.StarCatalog.HIPfromSimbad module
- class EXOSIMS.StarCatalog.HIPfromSimbad.HIPfromSimbad(catalogpath=None, **specs)[source]
Bases:
StarCatalog
Catalog generator class that uses astroquery to get stellar properties from SIMBAD
Sonny Rappaport, August 2021: Fixed several typos.
EXOSIMS.StarCatalog.SIMBAD300Catalog module
- class EXOSIMS.StarCatalog.SIMBAD300Catalog.SIMBAD300Catalog(cachedir=None, **specs)[source]
Bases:
SIMBADCatalog
SIMBAD300 Catalog class
This class populates the star catalog used in EXOSIMS from the SIMBAD300 catalog.
EXOSIMS.StarCatalog.SIMBADCatalog module
- class EXOSIMS.StarCatalog.SIMBADCatalog.SIMBADCatalog(ntargs=1, cachedir=None, VmagFill=0.1, **specs)[source]
Bases:
StarCatalog
SIMBAD Catalog class
This class provides the functions to populate the star catalog used in EXOSIMS from the SIMBAD star catalog data.
- SIMBAD_mat2pkl(matpath, pklpath)[source]
Writes pickled dictionary file from .mat file
This method takes a .mat star catalog, converts it to a Python dictionary, pickles the dictionary, and stores it in the StarCatalog directory.
- Parameters:
matpath (string) – path to .mat file
pklpath (str) – pat to .pkl file to be written
- Returns:
True if successful, False if not
- Return type:
bool (boolean)
Stores pickled dictionary file with same name as .mat file (and extension of .pkl) containing lists of required values needed to populate the Star Catalog object in StarCatalog directory.
- populatepkl(pklpath, **specs)[source]
Populates the star catalog and returns True if successful
This method populates the star catalog from a pickled dictionary file housed in the StarCatalog directory and returns True if successful.
- Parameters:
pklpath (string) – path to the pickled dictionary file with extension .pkl
- Returns:
True if successful, False if not
- Return type:
bool (boolean)