IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39445


Ignore:
Timestamp:
Mar 8, 2016, 11:49:15 AM (10 years ago)
Author:
eugene
Message:

move MeasFilterTest code to stand-along c file to avoid excessive dependencies in the test programs fitobj, etc

Location:
branches/eam_branches/ohana.20160226/src/relastro
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ohana.20160226/src/relastro/Makefile

    r39432 r39445  
    4848$(SRC)/UpdateMeasures.$(ARCH).o      \
    4949$(SRC)/GetAstromError.$(ARCH).o      \
     50$(SRC)/MeasFilterTest.$(ARCH).o            \
    5051$(SRC)/args.$(ARCH).o                \
    5152$(SRC)/bcatalog.$(ARCH).o            \
     
    121122$(SRC)/UpdateMeasures.$(ARCH).o      \
    122123$(SRC)/GetAstromError.$(ARCH).o      \
     124$(SRC)/MeasFilterTest.$(ARCH).o            \
    123125$(SRC)/args.$(ARCH).o                \
    124126$(SRC)/bcatalog.$(ARCH).o            \
     
    196198$(SRC)/mkpolyterm.$(ARCH).o            \
    197199$(SRC)/GetAstromError.$(ARCH).o            \
    198 $(SRC)/ImageOps.$(ARCH).o            \
    199 $(SRC)/MosaicOps.$(ARCH).o            \
     200$(SRC)/MeasFilterTest.$(ARCH).o            \
    200201$(SRC)/extra.$(ARCH).o            \
    201202$(SRC)/plotstuff.$(ARCH).o            \
     
    219220$(SRC)/mkpolyterm.$(ARCH).o            \
    220221$(SRC)/GetAstromError.$(ARCH).o            \
    221 $(SRC)/ImageOps.$(ARCH).o            \
    222 $(SRC)/MosaicOps.$(ARCH).o            \
     222$(SRC)/MeasFilterTest.$(ARCH).o            \
    223223$(SRC)/extra.$(ARCH).o            \
    224224$(SRC)/plotstuff.$(ARCH).o            \
     
    242242$(SRC)/mkpolyterm.$(ARCH).o            \
    243243$(SRC)/GetAstromError.$(ARCH).o            \
    244 $(SRC)/ImageOps.$(ARCH).o            \
    245 $(SRC)/MosaicOps.$(ARCH).o            \
     244$(SRC)/MeasFilterTest.$(ARCH).o            \
    246245$(SRC)/extra.$(ARCH).o            \
    247246$(SRC)/plotstuff.$(ARCH).o            \
    248247$(SRC)/fitpoly.$(ARCH).o
     248
     249# stupid dependencies:
     250# UpdateObjects.c:UpdateObjects_Chips needs
     251# ImageOps.c:MeasFilterTiny forces
     252# load_images.c:free_astrom_table needs
     253# select_images.c
     254# MosaicOps.c
    249255
    250256$(FITSTK): $(INC)/relastro.h
  • branches/eam_branches/ohana.20160226/src/relastro/src/ImageOps.c

    r39442 r39445  
    931931}
    932932
     933# if (0)
    933934/** lifted from relphot/StarOps.clean_measures */
    934935void FlagOutliers2D(Catalog *catalog);
     
    12981299  return TRUE;
    12991300}
     1301# endif
  • branches/eam_branches/ohana.20160226/src/relastro/src/fitobj.c

    r39412 r39445  
    240240  return catalog;
    241241}
     242
     243// these dummy functions are used to avoid including ImageOps, etc
     244int areImagesMatched () {
     245  return FALSE;
     246}
     247float getColorBlue (off_t meas, int cat) {
     248  OHANA_UNUSED_PARAM(meas);
     249  OHANA_UNUSED_PARAM(cat);
     250  return (NAN);
     251}
     252float getColorRed (off_t meas, int cat) {
     253  OHANA_UNUSED_PARAM(meas);
     254  OHANA_UNUSED_PARAM(cat);
     255  return (NAN);
     256}
  • branches/eam_branches/ohana.20160226/src/relastro/src/fitobj2.c

    r39412 r39445  
    265265  return catalog;
    266266}
     267
     268// these dummy functions are used to avoid including ImageOps, etc
     269int areImagesMatched () {
     270  return FALSE;
     271}
     272float getColorBlue (off_t meas, int cat) {
     273  OHANA_UNUSED_PARAM(meas);
     274  OHANA_UNUSED_PARAM(cat);
     275  return (NAN);
     276}
     277float getColorRed (off_t meas, int cat) {
     278  OHANA_UNUSED_PARAM(meas);
     279  OHANA_UNUSED_PARAM(cat);
     280  return (NAN);
     281}
  • branches/eam_branches/ohana.20160226/src/relastro/src/fitstk.c

    r39387 r39445  
    279279  return catalog;
    280280}
     281
     282// these dummy functions are used to avoid including ImageOps, etc
     283int areImagesMatched () {
     284  return FALSE;
     285}
     286float getColorBlue (off_t meas, int cat) {
     287  OHANA_UNUSED_PARAM(meas);
     288  OHANA_UNUSED_PARAM(cat);
     289  return (NAN);
     290}
     291float getColorRed (off_t meas, int cat) {
     292  OHANA_UNUSED_PARAM(meas);
     293  OHANA_UNUSED_PARAM(cat);
     294  return (NAN);
     295}
Note: See TracChangeset for help on using the changeset viewer.