Changeset 2907 in Sophya for trunk/SophyaExt/FitsIOServer/fitsfile.cc
- Timestamp:
- Jan 17, 2006, 10:09:29 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/fitsfile.cc
r2898 r2907 298 298 { 299 299 InitNull(); 300 hdunum_ = fios.CurrentHDU(); 300 301 } 301 302 … … 1145 1146 { 1146 1147 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 /*! 1157 Get the NoLine-th float 'line' from the current BINTABLE extension on FITS file, 1158 */ 1159 void 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); 1147 1169 if (status) 1148 1170 {
Note:
See TracChangeset
for help on using the changeset viewer.