Changeset 1824 in Sophya
- Timestamp:
- Dec 19, 2001, 3:32:54 PM (24 years ago)
- Location:
- trunk/SophyaExt/FitsIOServer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/datacirclefits.cc
r1816 r1824 5 5 Class used to recover the circles and measures involved in a mission. The parameters needful to create a circle and the number of samples on this circle are read from a FITS data array. In addition, a function returns the measurement at a given angular position psi on the circle. 6 6 */ 7 8 /* La fonction nint(double) n'existe pas partout ! */9 static long l_ft_nint(double x)10 {11 return ( (x < 0.) ? (long)(x-0.5) : (long)(x+0.5) ) ;12 }13 14 7 15 8 DataCircleFits::DataCircleFits() : … … 138 131 return _mesures[ibin]; 139 132 } 140 double DataCircleFits::getTOffset() { 133 134 double DataCircleFits::getTOffset() const { 141 135 142 136 int status= 0; -
trunk/SophyaExt/FitsIOServer/datacirclefits.h
r1815 r1824 15 15 virtual int NMeasurements() const; 16 16 virtual double getData(double) const; 17 virtual double getTMeasure(double) const; 17 18 virtual void print(ostream&) const; 18 19 19 double getTMeasure(double) const; 20 double getTOffset(); 20 double getTOffset() const; 21 21 22 22 private:
Note:
See TracChangeset
for help on using the changeset viewer.