IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 32951


Ignore:
Timestamp:
Dec 13, 2011, 11:44:33 AM (15 years ago)
Author:
eugene
Message:

add spex1dgas

Location:
branches/eam_branches/ipp-20111122/Ohana/src/opihi/cmd.astro
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20111122/Ohana/src/opihi/cmd.astro/Makefile

    r32909 r32951  
    5858$(SRC)/spec.$(ARCH).o              \
    5959$(SRC)/specpairfit.$(ARCH).o       \
     60$(SRC)/spex1dgas.$(ARCH).o         \
    6061$(SRC)/spex2dgas.$(ARCH).o         \
    6162$(SRC)/mkclusters.$(ARCH).o        \
  • branches/eam_branches/ipp-20111122/Ohana/src/opihi/cmd.astro/init.c

    r32909 r32951  
    4646int spec                    PROTO((int, char **));
    4747int specpairfit             PROTO((int, char **));
     48int spex1dgas               PROTO((int, char **));
    4849int spex2dgas               PROTO((int, char **));
    4950int mkclusters              PROTO((int, char **));
     
    9798  {1, "spec",        spec,         "extract a spectrum"},
    9899  {1, "specpairfit", specpairfit,  "fit spectrum to another spectrum"},
     100  {1, "spex1dgas",   spex1dgas,    "minimize distances in 1D"},
    99101  {1, "spex2dgas",   spex2dgas,    "minimize distances in 2D"},
    100102  {1, "mkclusters",  mkclusters,   "group spectra by distance"},
  • branches/eam_branches/ipp-20111122/Ohana/src/opihi/cmd.astro/spex2dgas.c

    r32922 r32951  
    4949void sortfriends (float *X, int *IDX1, int N);
    5050
    51 void get_pressure_gradient (int iObj, int nCloseMax, float farFrac, int nearNeighbors, float maxPressure) {
     51static void get_pressure_gradient (int iObj, int nCloseMax, float farFrac, int nearNeighbors, float maxPressure) {
    5252
    5353  int i;
     
    107107}
    108108
    109 void move_object (int iObj) {
     109static void move_object (int iObj) {
    110110
    111111  object[iObj].Xo += 0.25*object[iObj].dPdX;
Note: See TracChangeset for help on using the changeset viewer.