SatDump 2.0.0-alpha-520736c72
Loading...
Searching...
No Matches
calib.h File Reference

Generic xRIT calibration parsing. More...

#include "logger.h"
#include "products/image_product.h"
#include "utils/string.h"
#include "xrit/xrit_file.h"

Go to the source code of this file.

Functions

void satdump::xrit::addCalibrationInfoFunc (satdump::products::ImageProduct &pro, ImageDataFunctionRecord *image_data_function_record, std::string channel, std::string instrument_id)
 Most xRIT missions use the standard calibration header. This function parses it to insert calibration information on the channel.

Detailed Description

Generic xRIT calibration parsing.

Function Documentation

◆ addCalibrationInfoFunc()

void satdump::xrit::addCalibrationInfoFunc ( satdump::products::ImageProduct & pro,
ImageDataFunctionRecord * image_data_function_record,
std::string channel,
std::string instrument_id )
inline

Most xRIT missions use the standard calibration header. This function parses it to insert calibration information on the channel.

TODOREWORK This will most probably get moved over to each, and maybe load up wavelengths from files?? Also quite... crappy?

Parameters
proproduct to work on
image_data_function_recordxRIT calibration header
channelinstrument channel ID
instrument_idthe actual instrument channel ID