asteca.isochrones

asteca.isochrones#

Module Contents#

Classes#

isochrones

Define an isochrones object.

class asteca.isochrones.isochrones#

Define an isochrones object.

This object contains the loaded theoretical isochrones used by the asteca.synthetic class to generate synthetic clusters.

Parameters:
  • isochs_path (str) – Path to the folder that contains the files for the theoretical isochrones. The name of the folder must be one of the supported isochrone services: PARSEC, MIST, or BASTI. Examples of valid paths: isochrones/PARSEC/, Mist/, basti. See Loading the isochrones for more detailed information on how to properly store the isochrone files.

  • magnitude (dict) – Dictionary containing the magnitude’s filter name (as defined in the files of the theoretical isochrones) as the key, and its effective lambda (in Angstrom) as the value. Example for Gaia’s G magnitude: {"Gmag": 6390.21}.

  • color (dict) – Dictionary containing the color used in the cluster’s analysis. The correct format is: {"filter1": 1111.11, "filter2": 2222.22}, where filter1 and filter2 are the names of the filters that are combined to generate the color. The order is important because the color will be generated as: filter1-filter2. The values 1111.11 and 2222.22 are the effective lambdas (in Angstrom) for each filter. The color does not need to be defined in the same photometric system as the magnitude. Example for Gaia’s ‘BP-RP’ color: {"G_BPmag": 5182.58, "G_RPmag": 7825.08}

  • N_interp (int, default=2500) – Number of interpolation points used to ensure that all isochrones are the same shape.

  • color2 (dict, optional, default=None) – Optional second color to use in the analysis. Same format as that used by the color parameter.

  • column_names (dict, optional, default=None) – Column names for the initial mass, metallicity, and age for the photometric system’s isochrones files. Example: {"mass_col": "Mini", "met_col": "Zini", "age_col": "logAge"}. This dictionary is defined internally in ASteCA and should only be given by the user if the isochrone service changes its format and the isochrones class fails to load the files.

  • parsec_rm_stage_9 (boll, optional, default=True) – If the isochrones are PARSEC, this argument set to True will remove the post_AGB stage (label=9) which are still “in preparation”.