54 HiCalData() : _calimage(), _calbuffer(), _caldark(), _buffer(),
55 _dark(), _binning(0), _tdi(0), _cpmm(0), _channelNo(0),
56 _firstReverseLine(0), _lastReverseLine(0),
57 _firstMaskLine(0), _lastMaskLine(0),
58 _firstRampLine(0), _lastRampLine(0) { }
70 _calimage =
HiBlob(cube,
"HiRISE Calibration Image",
"Calibration").
buffer();
71 _calbuffer =
HiBlob(cube,
"HiRISE Calibration Ancillary",
"BufferPixels").
buffer();
72 _caldark =
HiBlob(cube,
"HiRISE Calibration Ancillary",
"DarkPixels").
buffer();
73 _buffer =
HiBlob(cube,
"HiRISE Ancillary",
"BufferPixels").
buffer();
74 _dark =
HiBlob(cube,
"HiRISE Ancillary",
"DarkPixels").
buffer();
79 _binning = instrument[
"Summing"];
80 _tdi = instrument[
"Tdi"];
81 _cpmm = instrument[
"CpmmNumber"];
82 _channelNo = instrument[
"ChannelNumber"];
85 _firstReverseLine = 0;
86 _lastReverseLine = 19;
90 _lastMaskLine = _firstMaskLine + 20 / _binning - 1;
91 _firstRampLine = _lastMaskLine + 1;
92 _lastRampLine = _calimage.dim1() - 1;
97 return (
cropLines(_calimage, _firstReverseLine, _lastReverseLine));
100 return (
cropLines(_calimage, _firstMaskLine, _lastMaskLine));
103 return (
cropLines(_calimage, _firstRampLine, _lastRampLine));
107 return (_dark.copy());
110 return (_buffer.copy());
117 cropLines(_calbuffer, _firstReverseLine, _lastReverseLine),
118 cropLines(_calimage, _firstReverseLine, _lastReverseLine)),
119 cropLines(_caldark, _firstReverseLine, _lastReverseLine)
127 cropLines(_calimage, _firstMaskLine, _lastMaskLine)),
128 cropLines(_caldark, _firstMaskLine, _lastMaskLine)
136 cropLines(_calimage, _firstRampLine, _lastRampLine)),
137 cropLines(_caldark, _firstRampLine, _lastRampLine)
162 int _firstReverseLine;
163 int _lastReverseLine;
HiMatrix getMask()
Definition: HiCalData.h:99
HiCalData()
Definition: HiCalData.h:54
HiMatrix getReverseClockExtended()
Definition: HiCalData.h:113
HiMatrix getDarkExtended()
Definition: HiCalData.h:142
PvlGroup & group(const QString &group) const
Read a group from the cube into a Label.
Definition: Cube.cpp:1636
HiMatrix appendLines(const HiMatrix &top, const HiMatrix &bottom)
Definition: HiCalUtil.h:314
Program progress reporter.
Definition: Progress.h:58
HiMatrix getRamp()
Definition: HiCalData.h:102
HiMatrix getReverseClock()
Definition: HiCalData.h:96
virtual ~HiCalData()
Destructor.
Definition: HiCalData.h:64
void SetText(const QString &text)
Changes the value of the text string reported just before 0% processed.
Definition: Progress.cpp:77
Contains multiple PvlContainers.
Definition: PvlGroup.h:57
HiMatrix getRampExtended()
Definition: HiCalData.h:132
HiMatrix appendSamples(const HiMatrix &left, const HiMatrix &right)
Definition: HiCalUtil.h:341
HiMatrix getMaskExtended()
Definition: HiCalData.h:123
BLOB extraction class.
Definition: HiBlob.h:52
HiMatrix getBuffer()
Definition: HiCalData.h:109
HiMatrix getBufferExtended()
Definition: HiCalData.h:145
HiMatrix getDark()
Definition: HiCalData.h:106
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
HiMatrix cropLines(const HiMatrix &m, int sline, int eline)
Crop specified lines from a buffer.
Definition: HiCalUtil.h:125
const HiMatrix & buffer() const
Return a reference to the data.
Definition: HiBlob.h:71
Container for HiRISE calibration data.
Definition: HiCalData.h:50
TNT::Array2D< double > HiMatrix
2-D buffer
Definition: HiCalTypes.h:41
HiCalData(Cube &cube)
Definition: HiCalData.h:59
IO Handler for Isis Cubes.
Definition: Cube.h:170
void load(Cube &cube)
Definition: HiCalData.h:66