grss.fit.fit_optical

grss.fit.fit_optical#

Optical observation handling for the GRSS orbit determination code

Functions

add_gaia_obs(obs_df[, t_min_tdb, t_max_tdb, ...])

Assemble the optical observations for a given body from Gaia DR3.

add_psv_obs(psv_obs_file, obs_df[, ...])

Assemble the optical observations for a given body into an array for an orbit fit, from the ADES PSV observation file.

apply_debiasing_scheme(obs_df, lowres, verbose)

Apply the Eggl et al. (2020) debiasing scheme to the observation array.

apply_station_weight_rules(group, obs_df, ...)

Apply the station-specific weight rules to the observation data.

apply_weighting_scheme(obs_df, verbose)

Apply the weights from Vereš et al. (2017) to the observation array.

create_optical_obs_df(body_id[, ...])

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.

debias_obs(r_asc_vals, dec_vals, epoch_vals, ...)

Calculate the bias on an optical observation given the epoch and the star catalog.

deweight_obs(obs_df, eff_obs_per_night, verbose)

Deweight observations that occur on the same night at the same observatory.

eliminate_obs(obs_df, max_obs_per_night, verbose)

Limit the number of observations that occur on the same night at the same observatory.

get_mpc_raw_data(tdes)

Get observation data from MPC observations API for desired small body

get_optical_obs(body_id[, optical_obs_file, ...])

Assemble the optical observations for a given body into an array for an orbit fit.

get_packed_prog_id(code)

Get the packed program ID from the ADES data.

get_unpacked_prog_id(code)

Get the unpacked program ID for the ADES data.