63 int tdiMode = inst[
"Tdi"];
64 double binMode = inst[
"Summing"];
65 int chan = inst[
"ChannelNumber"];
66 int cpmm = inst[
"CpmmNumber"];
67 double deltaLineTimerCount = inst[
"DeltaLineTimerCount"];
68 QString stime = inst[
"SpacecraftClockStartCount"];
71 static int cpmm2ccd[] = {0, 1, 2, 3, 12, 4, 10, 11, 5, 13, 6, 7, 8, 9};
72 int ccd = cpmm2ccd[cpmm];
76 double unBinnedRate = (74.0 + (deltaLineTimerCount / 16.0)) / 1000000.0;
77 double lineRate = unBinnedRate * binMode;
89 et -= unBinnedRate * (((double) tdiMode / 2.0) - 0.5);
93 et += unBinnedRate * (((double) binMode / 2.0) - 0.5);
103 double ccdLine_c = -64.0 + ((double) tdiMode / 2.0);
void SetFocalLength()
Reads the focal length from the instrument kernel.
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
void SetDetectorOffset(const double sampleOffset, const double lineOffset)
Set the detector offset.
QString m_instrumentNameLong
Full instrument name.
void SetDetectorSampleSumming(const double summing)
Set sample summing mode.
void SetPixelPitch()
Reads the Pixel Pitch from the instrument kernel.
Namespace for the standard library.
Generic class for Line Scan Cameras.
virtual void SetDistortion(int naifIkCode)
Load distortion coefficients.
void SetDetectorOrigin(const double sample, const double line)
Set the detector origin.
void SetDetectorLineSumming(const double summing)
Set line summing mode.
Convert between undistorted focal plane and ground coordinates.
void SetFrame(int frameCode)
Change the frame to the given frame code.
Convert between distorted focal plane and detector coordinates.
QString m_instrumentNameShort
Shortened instrument name.
~HiriseCamera()
Destroys the HiriseCamera object.
Contains multiple PvlContainers.
SpiceInt naifIkCode() const
This returns the NAIF IK code to use when reading from instrument kernels.
Isis::Camera * HiriseCameraPlugin(Isis::Cube &cube)
This is the function that is called in order to instantiate a HiriseCamera object.
iTime getClockTime(QString clockValue, int sclkCode=-1, bool clockTicks=false)
This converts the spacecraft clock ticks value (clockValue) to an iTime.
Distort/undistort focal plane coordinates.
Container for cube-like labels.
Convert between undistorted focal plane and ra/dec coordinates.
void LoadCache()
This loads the spice cache big enough for this image.
QString m_spacecraftNameLong
Full spacecraft name.
Pvl * label() const
Returns a pointer to the IsisLabel object associated with the cube.
void SetStartingDetectorSample(const double sample)
Set the starting detector sample.
static void CheckErrors(bool resetNaif=true)
This method looks for any naif errors that might have occurred.
Namespace for ISIS/Bullet specific routines.
SpiceRotation * instrumentRotation() const
Accessor method for the instrument rotation.
QString m_spacecraftNameShort
Shortened spacecraft name.
Convert between parent image coordinates and detector coordinates.
double Et() const
Returns the ephemeris time (TDB) representation of the time as a double.
IO Handler for Isis Cubes.