HECATE.run_SOAP

Classes

run_SOAP

Wrapper around SOAPv4.

class run_SOAP[source]

Bases: object

Wrapper around SOAPv4. Simulate transit light curve using SOAPv4 (Cristo, E., et al. 2025) to calibrate the local spectra flux. Uses Limb darkening toolkit (ldtk) to compute the limb-darkening coefficients.

Parameters:
  • time (numpy array) – time of observations in BJD.

  • stellar_params (dict) – dictionary containing the following stellar parameters: effective temperature and error, superficial gravity and error, metallicity and error, rotation period, radius and stellar inclination.

  • planet_params (dict) – dictionary containing the following planetary parameters: orbital period, system scale, planet-to-star radius ratio, mid-transit time, eccentricity, argument of periastron, planetary inclination and spin-orbit angle.

  • ld_law (str) – limb-darkening law to use (“linear”, “quadratic”, “square-root”, “exponential”, “claret-nonlinear”).

  • wav_range (list) – list containing the minimum and maximum wavelengths [nm] of the spectrograph.

  • plot (str) – type of plot to generate (“simple” or “SOAP”).

  • save – path to save the plot.

flux

simulated flux from SOAP.

Type:

numpy array

__init__(time: numpy.array, stellar_params: dict, planet_params: dict, ld_law: str = 'quadratic', wav_range: list = [380, 788], plot: str = 'SOAP', save=None)[source]