IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 7, 2007, 6:28:03 PM (19 years ago)
Author:
eugene
Message:

converted internal NO_MAG and NO_ERR to NAN, NAN_S_SHORT, etc as appropriate

Location:
trunk/Ohana/src/relastro
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/relastro/Makefile

    r12842 r15509  
    5555$(SRC)/write_coords.$(ARCH).o
    5656
    57 DROP = \
    58 $(SRC)/setMrelFinal.$(ARCH).o    \
    59 $(SRC)/StarOps.$(ARCH).o         
    60 
    61 
    6257$(RELASTRO): $(INC)/relastro.h
    6358$(BIN)/relastro.$(ARCH): $(RELASTRO)
  • trunk/Ohana/src/relastro/src/UpdateObjects.c

    r15038 r15509  
    196196      catalog[i].average[j].dP  = fit.dp; // parallax error in arcsec
    197197
    198       catalog[i].average[j].Xp  = (fit.Nfit > 1) ? 100.0*log10(fit.chisq) : NO_MAG;
     198      catalog[i].average[j].Xp  = (fit.Nfit > 1) ? 100.0*log10(fit.chisq) : NAN_S_SHORT;
    199199    }
    200200
  • trunk/Ohana/src/relastro/src/select_images.c

    r12731 r15509  
    142142      }
    143143      if (RESET) {
     144        // XXX do we need this in relastro?
    144145        assignMcal (&image[nimage], (double *) NULL, -1);
    145         image[nimage].dMcal = NO_MAG;
     146        image[nimage].dMcal = NAN;
    146147        image[nimage].code &= ~ID_IMAGE_POOR;
    147148      }
Note: See TracChangeset for help on using the changeset viewer.