- Timestamp:
- May 3, 2010, 8:45:22 AM (16 years ago)
- Location:
- branches/simmosaic_branches
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/simmosaic_branches
- Property svn:mergeinfo changed
-
branches/simmosaic_branches/Ohana
-
Property svn:mergeinfo
set to (toggle deleted branches)
/trunk/Ohana merged eligible /branches/eam_branches/Ohana.20100407 27635-27772 /branches/pap_delete/Ohana 27530-27595
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
branches/simmosaic_branches/Ohana/src/libdvo/src/dvo_convert_elixir.c
r21508 r27839 2 2 3 3 /* convert elixir-format measures to internal measures */ 4 Measure *Measure_Elixir_ToInternal (Measure_Elixir *in, int Nvalues) {5 6 int i;4 Measure *Measure_Elixir_ToInternal (Measure_Elixir *in, off_t Nvalues) { 5 6 off_t i; 7 7 Measure *out; 8 8 … … 69 69 70 70 /* convert internal measures to elixir-format measures */ 71 Measure_Elixir *MeasureInternalTo_Elixir (Measure *in, int Nvalues) {72 73 int i;71 Measure_Elixir *MeasureInternalTo_Elixir (Measure *in, off_t Nvalues) { 72 73 off_t i; 74 74 Measure_Elixir *out; 75 75 … … 108 108 109 109 /* convert elixir-format averages to internal averages */ 110 Average *Average_Elixir_ToInternal (Average_Elixir *in, int Nvalues, SecFilt **primary) {111 112 int i;110 Average *Average_Elixir_ToInternal (Average_Elixir *in, off_t Nvalues, SecFilt **primary) { 111 112 off_t i; 113 113 Average *out; 114 114 … … 151 151 // changed or added for PS1_V1 152 152 out[i].flags = in[i].code; 153 out[i].ChiSq = 0.0; 153 out[i].ChiSqAve = NAN; 154 out[i].ChiSqPM = NAN; 155 out[i].ChiSqPar = NAN; 156 out[i].Tmean = 0; 157 out[i].Trange = 0; 154 158 out[i].Npos = 0.0; 155 159 out[i].extID = 0; … … 159 163 160 164 /* convert internal averages to elixir-format averages */ 161 Average_Elixir *AverageInternalTo_Elixir (Average *in, int Nvalues, SecFilt *primary) {162 163 int i;165 Average_Elixir *AverageInternalTo_Elixir (Average *in, off_t Nvalues, SecFilt *primary) { 166 167 off_t i; 164 168 Average_Elixir *out; 165 169 … … 189 193 190 194 /* convert elixir-format secfilts to internal secfilts */ 191 SecFilt *SecFilt_Elixir_ToInternal (SecFilt_Elixir *in, int Nvalues) {192 193 int i;195 SecFilt *SecFilt_Elixir_ToInternal (SecFilt_Elixir *in, off_t Nvalues) { 196 197 off_t i; 194 198 SecFilt *out; 195 199 … … 208 212 out[i].M_20 = 0; 209 213 out[i].M_80 = 0; 214 215 // changed or added for PS1_V2 216 out[i].flags = 0; 210 217 } 211 218 return (out); … … 213 220 214 221 /* convert internal secfilts to elixir-format secfilts */ 215 SecFilt_Elixir *SecFiltInternalTo_Elixir (SecFilt *in, int Nvalues) {216 217 int i;222 SecFilt_Elixir *SecFiltInternalTo_Elixir (SecFilt *in, off_t Nvalues) { 223 224 off_t i; 218 225 SecFilt_Elixir *out; 219 226 … … 231 238 232 239 /* convert elixir-format images to internal images */ 233 Image *Image_Elixir_ToInternal (Image_Elixir *in, int Nvalues) {234 235 int i;240 Image *Image_Elixir_ToInternal (Image_Elixir *in, off_t Nvalues) { 241 242 off_t i; 236 243 Image *out; 237 244 … … 292 299 out[i].flags = in[i].code; 293 300 out[i].parentID = 0; 301 302 // changed or added for PS1_V2 303 out[i].RAo = NAN; 304 out[i].DECo = NAN; 305 out[i].Radius = NAN; 294 306 } 295 307 return (out); … … 297 309 298 310 /* convert internal images to elixir-format images */ 299 Image_Elixir *ImageInternalTo_Elixir (Image *in, int Nvalues) {300 301 int i;311 Image_Elixir *ImageInternalTo_Elixir (Image *in, off_t Nvalues) { 312 313 off_t i; 302 314 Image_Elixir *out; 303 315 … … 355 367 } 356 368 357 PhotCode *PhotCode_Elixir_To_Internal (PhotCode_Elixir *in, int Nvalues) {358 359 int i;369 PhotCode *PhotCode_Elixir_To_Internal (PhotCode_Elixir *in, off_t Nvalues) { 370 371 off_t i; 360 372 PhotCode *out; 361 373 … … 395 407 } 396 408 397 PhotCode_Elixir *PhotCode_Internal_To_Elixir (PhotCode *in, int Nvalues) {398 399 int i;409 PhotCode_Elixir *PhotCode_Internal_To_Elixir (PhotCode *in, off_t Nvalues) { 410 411 off_t i; 400 412 PhotCode_Elixir *out; 401 413
Note:
See TracChangeset
for help on using the changeset viewer.
