1#ifndef RosettaVirtisCamera_h
2#define RosettaVirtisCamera_h
12#include "LineScanCamera.h"
16#include <tnt/tnt_array2d.h>
18#include "VariableLineScanCameraDetectorMap.h"
34 typedef TNT::Array2D<SpiceDouble>
SMatrix;
51 void readSCET(
const QString &filename);
53 QString scrub(
const QString &text)
const;
68 const QString &frame2,
69 const double &et)
const;
IO Handler for Isis Cubes.
Generic class for Line Scan Cameras.
Container for cube-like labels.
Camera model for both Rosetta VIRTIS-M instruments.
double startTime() const
Return start time for the entire cube.
double m_scanRate
Line scan rate.
double lineStartTime(const double midExpTime) const
Return the start time for a given line exposure time.
std::vector< ScanMirrorInfo > m_mirrorData
vector of mirror info for each line
double exposureTime() const
Return the exposure time.
RosettaVirtisCamera(Cube &cube)
Creates a camera for a Rosetta VIRTIS-M cube.
std::vector< LineRateChange > m_lineRates
vector of timing info for each line
char m_slitMode
Slit mode of the instrument.
double endTime() const
Return end time for the entire cube.
virtual int CkReferenceId() const
CK Reference ID - J2000.
int pixelSumming() const
Return the pixel summing rate.
void readHouseKeeping(const QString &filename, double lineRate)
Read the VIRTIS houskeeping table from cube.
int m_summing
Summing/binnning mode.
int hkLineCount() const
Returns number of housekeeping records found in the cube Table.
Table getPointingTable(const QString &channelId, const int zeroFrame)
Compute the pointing table for each line.
TNT::Array2D< SpiceDouble > SMatrix
2-D buffer
bool m_is1BCalibrated
is determined by Archive/ProcessingLevelId
virtual int CkFrameId() const
CK Frame ID - Instrument Code from spacit run on CK.
double scanLineTime() const
Return the line scan rate.
~RosettaVirtisCamera()
Destructor.
virtual int SpkReferenceId() const
SPK Reference ID - J2000.
SMatrix getStateRotation(const QString &frame1, const QString &frame2, const double &et) const
Compute the state rotation at a given time for given frames.
bool hasArticulationKernel(Pvl &label) const
determine if the CK articulation kernels are present/given
double m_exposureTime
Line exposure time.
double lineEndTime(const double midExpTime) const
Return the end time for a given line exposure time.
void readSCET(const QString &filename)
For calibrated VIRTIS-M images, read the SCET values from the cube.
Class for storing Table blobs information.
This is free and unencumbered software released into the public domain.
bool m_isDarkCurrent
If the line is dark current data.
double m_opticalAngle
Optical angle in degrees.
double m_mirrorCos
Raw mirror cosine value.
int m_lineNum
The line the info is for.
double m_scanLineEt
Center of line time in ET.
double m_mirrorSin
Raw mirror sine value.