grss.fit.fit_optical.create_optical_obs_df

grss.fit.fit_optical.create_optical_obs_df#

grss.fit.fit_optical.create_optical_obs_df(body_id, optical_obs_file=None, t_min_tdb=None, t_max_tdb=None, verbose=False)#

Get optical observation data from the Minor Planet Center for a desired small body and assemble the optical observations for the given body into an array for an orbit fit.

Parameters:
  • body_id (str) – Small body designation (any value accepted by the MPC)

  • optical_obs_file (str, optional) – Filepath to the optical observations file, by default None

  • t_min_tdb (float, optional) – Minimum time (MJD TDB) for observations to be included, by default None

  • t_max_tdb (float, optional) – Maximum time (MJD TDB) for observations to be included, by default None

  • verbose (bool, optional) – Flag to print out information about the observations, by default False

Returns:

obs_df – Optical observation data for the given body

Return type:

pandas DataFrame