sorcha_addons.activity.lsst_comet.lsst_comet_activity
Classes
Calculating the coma magnitude of a comet with input specifications. |
Module Contents
- class LSSTCometActivity(required_column_names: List[str] = ['k', 'afrho1', 'optFilter', 'trailedSourceMagTrue'])[source]
Bases:
sorcha.activity.base_activity.AbstractCometaryActivityCalculating the coma magnitude of a comet with input specifications.
The observation dataframe provided to the
computemethod should have the following columns:k- Dust falling exponential value (dust falling at rh^k)afrho1- Quantity of A’Hearn et al. (1984). at 1 au (cm). See notes.optFilter- Observing filter of the observationTrailedSourceMag- Apparent magnitude in the input filter of the comet nucleus adding up all of the counts in the trail
Notes:
afrho1- The product of albedo, filling factor of grains within the observer field of view, and the linear radius of the field of view at the cometThis class is derived from
lsstcometby Mike Kelley (C) LSST Solar System Scientific Collaboration 2019- compute(df: pandas.DataFrame, observing_filters: List[str], rho: List[float], delta: List[float], alpha: List[float]) pandas.DataFrame[source]
Returns numpy array of 0’s with shape equal to the input dataframe time column.
- Parameters:
df (pd.DataFrame) – The
observationsdataframe provided bySorcha.observing_filters (List[str]) – The photometric filters the observation is taken in (the filter requested that the coma magnitude be calculated for)
rho (List[float]) – Heliocentric distance [units au]
delta (List[float]) – Distance to Earth [units au]
alpha (List[float]) – Phase angle [units degrees]
- Returns:
The original
observationsdataframe, with updated magnitude values based on results of lsstcomet coma calculations.- Return type:
pd.DataFrame