Skip to content

Instantly share code, notes, and snippets.

@Kelvinrr
Created November 22, 2019 22:01
Show Gist options
  • Select an option

  • Save Kelvinrr/e0b3a41bad070ac96af972439077411c to your computer and use it in GitHub Desktop.

Select an option

Save Kelvinrr/e0b3a41bad070ac96af972439077411c to your computer and use it in GitHub Desktop.
class Isd {
public:
std::string usgscsm_name_model;
std::string name_platform;
std::string name_sensor;
double semi_major;
double semi_minor;
double detector_sample_summing;
double detector_line_summing;
double focal_length;
double detector_center_line;
double detector_center_sample;
// should probably be ints
double starting_detector_line;
double starting_detector_sample;
std::vector<double> focal2pixel_line;
std::vector<double> focal2pixel_sample;
// maybe change
std::string distortion_model;
std::vector<double> distortion_coefficients;
unsigned int image_lines;
unsigned int image_samples;
double max_reference_height;
double min_reference_height;
std::string reference_height_units;
std::vector<std::vector<double>> line_scan_rate;
double starting_ephemeris_time;
double center_ephemeris_time;
double t0_ephemeris_time;
double dt_ephemeris_time;
double t0_quaternions;
double dt_quaternions;
std::map<std::string, std::string> naif_keywords;
Positions sensor_pos;
Positions sun_pos;
Orientations sensor_orientation;
Orientations body_orientaion;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment