- Timestamp:
- Dec 11, 2015, 4:59:47 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/dvopsps/src/insert_FGshape_dvopsps_catalog.c
r39126 r39253 229 229 230 230 float sersic_index = galphot->index; 231 if (galphot->modelType == 6) sersic_index = 1.0; 232 if (galphot->modelType == 7) sersic_index = 4.0; 231 if (galphot->modelType == 6) { 232 sersic_index = 1.0; 233 } 234 else if (galphot->modelType == 7) { 235 sersic_index = 4.0; 236 } 237 else { 238 sersic_index = 1.0 / (2.0 * sersic_index); 239 } 233 240 234 241 PRINT_FLOAT(gal_buffer, galphot->mag, "%.6e, ");
Note:
See TracChangeset
for help on using the changeset viewer.
