grss.fit.fit_optical.apply_weighting_scheme#
- grss.fit.fit_optical.apply_weighting_scheme(obs_df, verbose)#
Apply the weights from Vereš et al. (2017) to the observation array. (paper from https://doi.org/10.1016/j.icarus.2017.05.021)
- Parameters:
obs_df (pandas DataFrame) – Optical observation data for the given body
verbose (bool) – Flag to print out information about the observations
- Returns:
obs_df – Optical observation data for the given body with weights applied
- Return type:
pandas DataFrame
- Raises:
ValueError – If the observation type is unknown
ValueError – If the weight is zero after applying the weighting scheme