Changeset 1824 in Sophya for trunk/SophyaExt/FitsIOServer


Ignore:
Timestamp:
Dec 19, 2001, 3:32:54 PM (24 years ago)
Author:
ansari
Message:

Suite modifs datacirclefits ... par Touze Reza 19/12/2001

Location:
trunk/SophyaExt/FitsIOServer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaExt/FitsIOServer/datacirclefits.cc

    r1816 r1824  
    55   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.
    66*/
    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 
    147
    158DataCircleFits::DataCircleFits() :
     
    138131  return _mesures[ibin];
    139132}
    140 double DataCircleFits::getTOffset() {
     133
     134double DataCircleFits::getTOffset() const {
    141135
    142136  int status= 0;
  • trunk/SophyaExt/FitsIOServer/datacirclefits.h

    r1815 r1824  
    1515  virtual int NMeasurements() const;
    1616  virtual double getData(double) const;
     17  virtual double getTMeasure(double) const;
    1718  virtual void print(ostream&) const;
    1819
    19   double getTMeasure(double) const;
    20   double getTOffset();
     20  double getTOffset() const;
    2121
    2222 private:
Note: See TracChangeset for help on using the changeset viewer.