imap_processing.hi.hi_l1c#

IMAP-HI l1c processing module.

Functions

empty_pset_dataset(l1b_met, ...)

Allocate an empty xarray.Dataset with appropriate pset coordinates.

find_last_de_packet_data(l1b_dataset)

Find the telemetry entries for the last packet at an ESA step.

generate_pset_dataset(de_dataset, ...)

Generate IMAP-Hi l1c pset xarray dataset from l1b product.

get_de_clock_ticks_for_esa_step(ccsds_met, ...)

Generate an array of clock tick MET times for an 8-spin ESA step.

good_time_and_phase_mask(tick_mets, spin_phases)

Filter out the clock tick times that are not in good times and angles.

hi_l1c(de_dataset, calibration_prod_config_path)

High level IMAP-Hi l1c processing function.

pset_backgrounds(pset_coords)

Calculate pointing set backgrounds and background uncertainties.

pset_counts(pset_coords, config_df, ...)

Bin direct events into PSET spin-bins.

pset_exposure(pset_coords, l1b_de_dataset)

Calculate PSET exposure time.

pset_geometry(pset_et, sensor_str)

Calculate PSET geometry variables.