read_pinhole_file¶
- sofia_redux.instruments.forcast.distcorr_model.read_pinhole_file(pinhole_file)[source]¶
Read the pinhole file and return a dataframe
Note that 1 is subtracted from the xpos and ypos pixel positions for consistency with Python/IDL indexing.
- Parameters:
- pinhole_filestr, optional
Path to the pinhole file. If None is supplied, will read the default pinhole file
- Returns:
- pandas.DataFrame
contents of the pinhole file as a dataframe