9#include "HiriseCamera.h"
16#include "CameraDistortionMap.h"
17#include "CameraFocalPlaneMap.h"
19#include "LineScanCameraDetectorMap.h"
20#include "LineScanCameraGroundMap.h"
21#include "LineScanCameraSkyMap.h"
22#include "NaifStatus.h"
49 int tdiMode = inst[
"Tdi"];
50 double binMode = inst[
"Summing"];
51 int chan = inst[
"ChannelNumber"];
52 int cpmm = inst[
"CpmmNumber"];
53 double deltaLineTimerCount = inst[
"DeltaLineTimerCount"];
54 QString stime = inst[
"SpacecraftClockStartCount"];
57 static int cpmm2ccd[] = {0, 1, 2, 3, 12, 4, 10, 11, 5, 13, 6, 7, 8, 9};
58 int ccd = cpmm2ccd[cpmm];
62 double unBinnedRate = (74.0 + (deltaLineTimerCount / 16.0)) / 1000000.0;
63 double lineRate = unBinnedRate * binMode;
75 et -= unBinnedRate * (((double) tdiMode / 2.0) - 0.5);
79 et += unBinnedRate * (((double) binMode / 2.0) - 0.5);
89 double ccdLine_c = -64.0 + ((double) tdiMode / 2.0);
void SetDetectorLineSumming(const double summing)
Set line summing mode.
void SetStartingDetectorSample(const double sample)
Set the starting detector sample.
void SetDetectorSampleSumming(const double summing)
Set sample summing mode.
Distort/undistort focal plane coordinates.
virtual void SetDistortion(int naifIkCode)
Load distortion coefficients.
Convert between distorted focal plane and detector coordinates.
void SetDetectorOffset(const double sampleOffset, const double lineOffset)
Set the detector offset.
void SetDetectorOrigin(const double sample, const double line)
Set the detector origin.
QString m_spacecraftNameLong
Full spacecraft name.
void SetFocalLength()
Reads the focal length from the instrument kernel.
void SetPixelPitch()
Reads the Pixel Pitch from the instrument kernel.
void LoadCache()
This loads the spice cache big enough for this image.
QString m_instrumentNameShort
Shortened instrument name.
QString m_spacecraftNameShort
Shortened spacecraft name.
QString m_instrumentNameLong
Full instrument name.
IO Handler for Isis Cubes.
Pvl * label() const
Returns a pointer to the IsisLabel object associated with the cube.
HiriseCamera(Cube &cube)
Creates a Hirise Camera Model.
~HiriseCamera()
Destroys the HiriseCamera object.
Convert between parent image coordinates and detector coordinates.
Convert between undistorted focal plane and ground coordinates.
LineScanCamera(Isis::Cube &cube)
Constructs the LineScanCamera object.
Convert between undistorted focal plane and ra/dec coordinates.
static void CheckErrors(bool resetNaif=true)
This method looks for any naif errors that might have occurred.
Contains multiple PvlContainers.
Container for cube-like labels.
@ Traverse
Search child objects.
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
virtual iTime getClockTime(QString clockValue, int sclkCode=-1, bool clockTicks=false)
This converts the spacecraft clock ticks value (clockValue) to an iTime.
virtual SpiceRotation * instrumentRotation() const
Accessor method for the instrument rotation.
SpiceInt naifIkCode() const
This returns the NAIF IK code to use when reading from instrument kernels.
void SetFrame(int frameCode)
Change the frame to the given frame code.
double Et() const
Returns the ephemeris time (TDB) representation of the time as a double.
This is free and unencumbered software released into the public domain.
Namespace for the standard library.