96 double et = inst[
"EphemerisTime"];
98 double exposureDuration = 0.0;
100 exposureDuration = ((double) inst[
"ExposureDuration"]) / 1000.0;
103 double sampleDetectors = inst[
"SampleDetectors"];
104 double lineDetectors = inst[
"LineDetectors"];
109 int xDependency = inst[
"FocalPlaneXDependency"];
117 if (inst.
hasKeyword(
"TransX")) xdir = inst[
"TransX"];
118 if (inst.
hasKeyword(
"TransY")) ydir = inst[
"TransY"];
135 keyval[0] = inst[
"TransX0"];
139 keyval[yDependency] = 0.;
144 pdpool_c(
"IDEAL_TRANSX", 3, keyval);
154 keyval[0] = inst[
"TransY0"];
158 keyval[xDependency] = 0.;
163 pdpool_c(
"IDEAL_TRANSY", 3, keyval);
173 keyval[0] = inst[
"TransS0"];
176 keyval[xDependency] = 1 /
PixelPitch() * sdir;
177 keyval[yDependency] = 0.;
182 pdpool_c(
"IDEAL_TRANSS", 3, keyval);
192 keyval[0] = inst[
"TransL0"];
195 keyval[yDependency] = 1 /
PixelPitch() * ldir;
196 keyval[xDependency] = 0.0;
201 pdpool_c(
"IDEAL_TRANSL", 3, keyval);
205 QString type = (QString) inst[
"InstrumentType"];
206 if (type.toUpper() ==
"FRAMING") {
211 lineDetectors / 2.0 + 0.5);
219 else if (type.toUpper() ==
"LINESCAN") {
233 QString msg =
"Unknown InstrumentType [" +
234 (QString) inst[
"InstrumentType"] +
"]";
250 string msg =
"No CK Frame ID for Ideal Camera class";
262 string msg =
"No CK Reference ID for Ideal Camera class";
273 string msg =
"No SPK Target ID for Ideal Camera class";
284 string msg =
"No SPK Center ID for Ideal Camera class";
295 string msg =
"No SPK Reference ID for Ideal Camera class";