Ignore:
Timestamp:
Jan 17, 2006, 10:09:29 AM (20 years ago)
Author:
ansari
Message:

debug/check fits : gestion NTuple colonnes double + init hdunum_ ds FitsFile(FitsInOutFile&) + correction gestion TArray/TMatrix/TVector ds fitsarrhand.h - Reza 17/01/2006

File:
1 edited

Legend:

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

    r2898 r2907  
    298298{
    299299  InitNull();
     300  hdunum_ = fios.CurrentHDU();
    300301}
    301302
     
    11451146    {
    11461147      fits_read_col(fptr_,TFLOAT,ncol+1,NoLine+1,1,1,&fnull,&fdata[ncol],&anynul,&status);
     1148      if (status)
     1149        {
     1150          ResetStatus(status);
     1151          break;
     1152        }
     1153    }
     1154}
     1155
     1156/*!
     1157Get the NoLine-th float 'line'  from the current BINTABLE extension on FITS file,
     1158*/
     1159void FitsInFile::GetBinTabLine(int NoLine, double* ddata)
     1160{
     1161  int status= 0;
     1162  int    anynul;
     1163  double dnull= fnull_;
     1164  long nels=1;
     1165  int ncol;
     1166  for (ncol=0; ncol<nbcols_; ncol++)
     1167    {
     1168      fits_read_col(fptr_, TDOUBLE, ncol+1,NoLine+1,1,1,&dnull,&ddata[ncol],&anynul,&status);
    11471169      if (status)
    11481170        {
Note: See TracChangeset for help on using the changeset viewer.