Changeset 555 in Sophya for trunk/Poubelle/archTOI.old/starmatcher.h
- Timestamp:
- Nov 9, 1999, 3:04:05 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Poubelle/archTOI.old/starmatcher.h
r534 r555 1 // starmatcher.h 2 // Eric Aubourg CEA/DAPNIA/SPP novembre 1999 3 1 4 #ifndef STARMATCHER_H 2 5 #define STARMATCHER_H … … 4 7 5 8 #include "sststarfinder.h" 6 #include "toi pullproducer.h"9 #include "toiderivproducer.h" 7 10 8 class StarMatcher: public SSTStarProcessor, public TOI PullProducer {11 class StarMatcher: public SSTStarProcessor, public TOIDerivProducer { 9 12 public: 10 13 StarMatcher(); … … 14 17 virtual string getName(); 15 18 virtual double getValue(long sampleNum, TOI const& toi); 19 virtual bool canGetValue(long sampleNum, TOI const& toi); 20 virtual bool canGetValueLater(long sampleNum, TOI const& toi); 16 21 17 22 protected: 18 23 virtual set<TOI> reqTOIFor(TOI const&); 19 void propagateLowBound(TOI const& toi, long sampleNum); 20 #pragma options align=mac68k 24 void propagateLowBound(TOI const& toi, long sampleNum); 25 void processStars(); 26 21 27 struct gscStar { 22 28 float ra; … … 24 30 short mag; // mag * 100 25 31 }; 26 #pragma options align=reset 32 27 33 28 34 gscStar* stars; 29 35 long nstars; 30 36 31 map<long,SSTEtoile> lastStars; 37 deque<SSTEtoile> lastStars; 38 39 struct matchStar { 40 double SN; 41 double raGSC; 42 double decGSC; 43 double azGSC; 44 double elvGSC; 45 int nDiode; 46 bool ok; 47 long seq; 48 double lon; 49 double lat; 50 double ts; 51 }; 52 53 long lastSeq; 54 55 deque<matchStar> matchStars; 56 deque<matchStar> cleanStars; 57 58 struct pendulInfo { 59 double SN; 60 double azPendul; 61 double angPendul; 62 }; 63 64 struct posInfo { 65 double SN; 66 double azStar; 67 double elvStar; 68 double diodStar; 69 double lon; 70 double lat; 71 double ts; 72 }; 73 74 map<double, posInfo> posInfos; // sampleNum -> info 75 map<double, pendulInfo> pendulInfos; // sampleNum -> info 76 77 int getPendulInfo(double sampleNum, pendulInfo& info); // interpolate 78 32 79 }; 33 80
Note:
See TracChangeset
for help on using the changeset viewer.