Generate atlas¶
This module holds helper routines that are not part of the main package.
Examples for this are:
- Routines that were written for a specific cluster and are not
generalized yet.
- I/O routines that are not directly related to the YSOVAR database
(e.g. reading the IDL .sav files that Rob Gutermuth uses).
-
YSOVAR.misc.format_or_string(format_str)¶
-
YSOVAR.misc.makeclassinteger(guenther_data_yso)¶
-
YSOVAR.misc.read_cluster_grinder(filepath)¶ Import Robs Spitzer data
read Rob’s IDL format and make it into a a catalog, deleting multiple columns and adding identifiers
Parameters: filepath : string
Path to a directory that holds the output of the ClusterGrinder pipeline. All files need to have standard names. Specifically, this routine reads:
cg_merged_srclist_mips.savcg_classified.sav
Returns: cat : astropy.table.Table
Table with 2MASS ans Spitzer magnitudes and the clustergrinder classification.
-
YSOVAR.misc.spectra_check(infos, ra, dec, files, night_id, radius)¶