104 double et = inst[
"EphemerisTime"];
106 double exposureDuration = 0.0;
108 exposureDuration = ((double) inst[
"ExposureDuration"]) / 1000.0;
111 double sampleDetectors = inst[
"SampleDetectors"];
112 double lineDetectors = inst[
"LineDetectors"];
117 int xDependency = inst[
"FocalPlaneXDependency"];
125 if (inst.
hasKeyword(
"TransX")) xdir = inst[
"TransX"];
126 if (inst.
hasKeyword(
"TransY")) ydir = inst[
"TransY"];
143 keyval[0] = inst[
"TransX0"];
147 keyval[yDependency] = 0.;
152 pdpool_c(
"IDEAL_TRANSX", 3, keyval);
162 keyval[0] = inst[
"TransY0"];
166 keyval[xDependency] = 0.;
171 pdpool_c(
"IDEAL_TRANSY", 3, keyval);
181 keyval[0] = inst[
"TransS0"];
184 keyval[xDependency] = 1 /
PixelPitch() * sdir;
185 keyval[yDependency] = 0.;
190 pdpool_c(
"IDEAL_TRANSS", 3, keyval);
200 keyval[0] = inst[
"TransL0"];
203 keyval[yDependency] = 1 /
PixelPitch() * ldir;
204 keyval[xDependency] = 0.0;
209 pdpool_c(
"IDEAL_TRANSL", 3, keyval);
213 QString type = (QString) inst[
"InstrumentType"];
214 if (type.toUpper() ==
"FRAMING") {
219 lineDetectors / 2.0 + 0.5);
227 else if (type.toUpper() ==
"LINESCAN") {
241 QString msg =
"Unknown InstrumentType [" +
242 (QString) inst[
"InstrumentType"] +
"]";
259 string msg =
"No CK Frame ID for Ideal Camera class";
271 string msg =
"No CK Reference ID for Ideal Camera class";
283 string msg =
"No SPK Target ID for Ideal Camera class";
295 string msg =
"No SPK Center ID for Ideal Camera class";
307 string msg =
"No SPK Reference ID for Ideal Camera class";