antaress.ANTARESS_conversions.ANTARESS_masks_gen module

Contents

antaress.ANTARESS_conversions.ANTARESS_masks_gen module#

def_masks(vis_mode, gen_dic, data_type_gen, inst, vis, data_dic, plot_dic, system_param, data_prop)[source]#

CCF mask generation

Generates CCF binary masks from processed stellar spectrum.

2D spectra must have been aligned in the star (for disk-integrated profiles), photosphere (for intrinsic profiles), or planet (for atmospheric profiles) rest frame, converted into 1D profiles, and binned into a master spectrum. This alignment in the rest frame of the line transitions is necessary to cross-match them with linelists

The derived masks are thus defined in the approximate rest frame defined above
  • Disk-integrated masks are shifted from the star rest frame to the rest frame of the input data, based on the input systemic velocity used to align the disk-integrated profiles. The masks can then be used to generate CCFs from disk-integrated spectra in their input rest frame (where CCFs will be centered at the approximate systemic rv + Keplerian rv)

  • Intrinsic masks are left defined in the photosphere rest frame. They can be used to generate CCFs from intrinsic spectra in the star (where CCFs will be centered at the photosphere + line rv) or photosphere rest frame (where CCFs will be centered at the line rv)

  • Atmospheric masks are left defined in the planet rest frame. They can be used to generate CCFs from atmospheric spectra in the star (where CCFs will be centered at the orbital + atmospheric rv) or planet rest frame (where CCFs will be centered at the atmospheric rv)

Parameters:

TBD

Returns:

None