Changeset 363 in Sophya
- Timestamp:
- Aug 6, 1999, 11:58:04 PM (26 years ago)
- Location:
- trunk/Poubelle/archTOI.old
- Files:
-
- 2 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Poubelle/archTOI.old/archtoimain.cc
r350 r363 26 26 return(-1); 27 27 } 28 28 29 ArchTOI toi(argv[1]); 29 30 toi.run(argv[2]); -
trunk/Poubelle/archTOI.old/asigps.cc
r359 r363 1 // asigps.cc 2 // Eric Aubourg CEA/DAPNIA/SPP aout 1999 3 1 4 #include "asigps.h" 2 5 #include <fstream.h> -
trunk/Poubelle/archTOI.old/asigps.h
r358 r363 1 // asigps.h 2 // Eric Aubourg CEA/DAPNIA/SPP aout 1999 3 1 4 #ifndef ASIGPS_H 2 5 #define ASIGPS_H -
trunk/Poubelle/archTOI.old/auxgps.h
r358 r363 1 // auxgps.h 2 // Eric Aubourg CEA/DAPNIA/SPP aout 1999 3 1 4 #ifndef AUXGPS_H 2 5 #define AUXGPS_H -
trunk/Poubelle/archTOI.old/auxinterpgps.cc
r360 r363 1 // auxinterpgps.cc 2 // Eric Aubourg CEA/DAPNIA/SPP aout 1999 3 1 4 #include "auxinterpgps.h" 2 5 #include "fitsio.h" -
trunk/Poubelle/archTOI.old/auxinterpgps.h
r358 r363 1 // auxinterpgps.h 2 // Eric Aubourg CEA/DAPNIA/SPP aout 1999 3 1 4 #ifndef AUXINTERPGPS_H 2 5 #define AUXINTERPGPS_H -
trunk/Poubelle/archTOI.old/toiiter.cc
r358 r363 386 386 TOIKind kind = infos[column].kind; 387 387 if (auxGPS && 388 (kind == longitude || kind == latitude || kind == altitude )) {388 (kind == longitude || kind == latitude || kind == altitude || kind == tsid)) { 389 389 double dummy; 390 390 return auxGPS->getLocation(getMJD(), dummy, dummy, dummy) == 0; … … 419 419 case altitude: 420 420 return file->hasGPSAlt(); 421 case tsid: 422 return file->hasGPSPos(); 421 423 case azimut: 422 424 case alphaAxis: 423 425 case deltaAxis: 424 return (file->lastGPS() != NULL && file->lastSST() != NULL); 426 return false; 427 //return (file->lastGPS() != NULL && file->lastSST() != NULL); 428 case alphaSst: 429 case deltaSst: 430 case alphaBolo: 431 case deltaBolo: 432 return false; 433 434 case boloTemp: 435 return false; 425 436 } 426 437 return false; … … 431 442 TOIKind kind = infos[column].kind; 432 443 if (auxGPS && 433 (kind == longitude || kind == latitude || kind == altitude )) {444 (kind == longitude || kind == latitude || kind == altitude || kind == tsid)) { 434 445 double lat,lon,alt; 435 446 if (auxGPS->getLocation(getMJD(), lat, lon, alt)) return -99999; 436 447 if (kind == longitude) return lon; 437 448 if (kind == latitude) return lat; 438 if (kind == altitude) return alt; 449 if (kind == altitude) return alt; 450 if (kind == tsid) { 451 tSid.setLongitude(lon); 452 return tSid.getLST(getMJD()); 453 } 439 454 } 440 455 if (rawIter) { … … 474 489 case altitude: 475 490 return file->getGPSAlt(); 491 case tsid: 492 tSid.setLongitude(file->getGPSLong()); 493 return tSid.getLST(getMJD()); 476 494 case azimut: 477 495 return file->getAzimut(imes); … … 498 516 case internalTime: 499 517 case mjd: 518 case tsid: 500 519 return true; 501 520 case boloTens: -
trunk/Poubelle/archTOI.old/toiiter.h
r358 r363 12 12 #include "archeopsfile.h" 13 13 #include "auxgps.h" 14 #include "tsid.h" 14 15 15 16 enum TOIKind { … … 128 129 129 130 AuxGPS* auxGPS; 131 TSid tSid; 130 132 131 133 private:
Note:
See TracChangeset
for help on using the changeset viewer.