IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 9, 2008, 3:36:40 PM (18 years ago)
Author:
Paul Price
Message:

Forgot to check in merged psastroRefstarSubset.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroRefstarSubset.c

    r14165 r20038  
    2121  // is needed...
    2222  psLogMsg ("psastro", 4, "measuring luminosity function for rawstars\n");
    23   pmLumFunc *rawfunc = psastroLuminosityFunction (rawstars);
     23  pmLumFunc *rawfunc = psastroLuminosityFunction (rawstars, NULL);
    2424  if (rawfunc == NULL) {
    2525    psLogMsg ("psastro", 4, "giving up on rawstars for this readout\n");
     
    2727  }
    2828  psLogMsg ("psastro", 4, "measuring luminosity function for refstars\n");
    29   pmLumFunc *reffunc = psastroLuminosityFunction (refstars);
     29  pmLumFunc *reffunc = psastroLuminosityFunction (refstars, rawfunc);
    3030  if (reffunc == NULL) {
    3131    psLogMsg ("psastro", 4, "giving up on refstars for this readout\n");
     
    8484/* this test is a bit sensitive to the total number of refstars or rawstars available
    8585   watch out if:
    86    - the fitted slopes are extremely different 
     86   - the fitted slopes are extremely different
    8787   - the average number of stars per bin is ~1
    88    
     88
    8989   skip the cut in these cases?
    9090*/
Note: See TracChangeset for help on using the changeset viewer.