load_aperture_table

nyx.instrument.aperture_table.load_aperture_table(path)[source]

Read an effective-aperture table iactrace saved to .npz.

Parameters:

path (str or path-like) – A file written by iactrace.io.save_aperture_table.

Return type:

EffectiveApertureTable

Raises:

ValueError – If the file is not an aperture table, or is a format version this reader does not know.