IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 8, 2008, 12:50:52 PM (19 years ago)
Author:
eugene
Message:

replaced sort functions drived from press with sort macros derived from gsl

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

Legend:

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

    r15600 r16040  
    4949$(SRC)/plotstuff.$(ARCH).o       \
    5050$(SRC)/select_images.$(ARCH).o   \
    51 $(SRC)/sort.$(ARCH).o            \
    5251$(SRC)/relastro.$(ARCH).o        \
    5352$(SRC)/save_catalogs.$(ARCH).o   \
  • trunk/Ohana/src/relastro/src/liststats.c

    r12332 r16040  
    3737  if (N < 1) return (FALSE);
    3838
    39   sortB (value, dvalue, N);
     39  dsortpair (value, dvalue, N);
    4040  stats[0].median = value[(int)(0.5*N)];
    4141  stats[0].min    = value[0];
     
    7373      chi[i] = (value[i] - stats[0].median) / dvalue[i];
    7474    }
    75     sortD (chi, value, dvalue, N);
     75    dsortthree (chi, value, dvalue, N);
    7676    free (chi);
    7777  }
Note: See TracChangeset for help on using the changeset viewer.