Changeset 20038 for trunk/psastro/src/psastroRefstarSubset.c
- Timestamp:
- Oct 9, 2008, 3:36:40 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroRefstarSubset.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroRefstarSubset.c
r14165 r20038 21 21 // is needed... 22 22 psLogMsg ("psastro", 4, "measuring luminosity function for rawstars\n"); 23 pmLumFunc *rawfunc = psastroLuminosityFunction (rawstars );23 pmLumFunc *rawfunc = psastroLuminosityFunction (rawstars, NULL); 24 24 if (rawfunc == NULL) { 25 25 psLogMsg ("psastro", 4, "giving up on rawstars for this readout\n"); … … 27 27 } 28 28 psLogMsg ("psastro", 4, "measuring luminosity function for refstars\n"); 29 pmLumFunc *reffunc = psastroLuminosityFunction (refstars );29 pmLumFunc *reffunc = psastroLuminosityFunction (refstars, rawfunc); 30 30 if (reffunc == NULL) { 31 31 psLogMsg ("psastro", 4, "giving up on refstars for this readout\n"); … … 84 84 /* this test is a bit sensitive to the total number of refstars or rawstars available 85 85 watch out if: 86 - the fitted slopes are extremely different 86 - the fitted slopes are extremely different 87 87 - the average number of stars per bin is ~1 88 88 89 89 skip the cut in these cases? 90 90 */
Note:
See TracChangeset
for help on using the changeset viewer.
