IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 1, 2012, 3:24:39 PM (14 years ago)
Author:
eugene
Message:

support for parallel dvo in mextract, avextract, avmerge, gstar, gcat; remove some if-def-ed out code already moved to libdvo; list -vectors and -buffers options (store names of vectors and buffers in lists); list -copy give error if missing source; catlist, hosts & remote functions to support parallel dvos; skyregion -save option; new skycoverage modes (-min-ubercal; -min-dmag-sys; -min-mcal; -max-mcal); gstar output formatting cleanups; add more average info to gstar output; functions for spectral similarity analysis; coords returns nans for projections off the sphere; fix cumulative function; add name:type option to opihi/read function (eg read a:float 2 b:time 3 c:int 4); line -frac option; vtype function to get vector types; threshold function; write -fits option; code for unfinished mtype function (matching vtype)

Location:
trunk/Ohana/src/opihi/cmd.astro
Files:
3 edited
6 copied

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.astro/Makefile

    r32632 r33662  
    3232$(SRC)/fixwrap.$(ARCH).o           \
    3333$(SRC)/fixcols.$(ARCH).o           \
     34$(SRC)/fiximage.$(ARCH).o          \
    3435$(SRC)/gauss.$(ARCH).o             \
    35 $(SRC)/getvel.$(ARCH).o    \
    36 $(SRC)/getlst.$(ARCH).o    \
     36$(SRC)/getvel.$(ARCH).o            \
     37$(SRC)/getlst.$(ARCH).o            \
    3738$(SRC)/medianmap.$(ARCH).o         \
    3839$(SRC)/mkgauss.$(ARCH).o           \
     
    5152$(SRC)/precess.$(ARCH).o           \
    5253$(SRC)/profile.$(ARCH).o           \
    53 $(SRC)/radec.$(ARCH).o     \
    54 $(SRC)/region.$(ARCH).o    \
     54$(SRC)/radec.$(ARCH).o             \
     55$(SRC)/region.$(ARCH).o            \
    5556$(SRC)/rotcurve.$(ARCH).o          \
    5657$(SRC)/scale.$(ARCH).o             \
    5758$(SRC)/sexigesimal.$(ARCH).o       \
    5859$(SRC)/spec.$(ARCH).o              \
     60$(SRC)/specpairfit.$(ARCH).o       \
     61$(SRC)/spexseq.$(ARCH).o           \
     62$(SRC)/spex1dgas.$(ARCH).o         \
     63$(SRC)/spex2dgas.$(ARCH).o         \
     64$(SRC)/mkclusters.$(ARCH).o        \
    5965$(SRC)/star.$(ARCH).o              \
    60 $(SRC)/transform.$(ARCH).o        \
     66$(SRC)/transform.$(ARCH).o         \
    6167$(SRC)/imsub.$(ARCH).o             \
    6268$(SRC)/imfit.$(ARCH).o             \
  • trunk/Ohana/src/opihi/cmd.astro/coords.c

    r29540 r33662  
    8383    }
    8484    if (mode == PIXEL) {
     85      Xin = ohana_normalize_angle_to_midpoint (Xin, coords.crval1);
    8586      RD_to_XY (&Xout, &Yout, Xin, Yin, &coords);
    8687      if (!Quiet) gprint (GP_LOG, "%7.2f %7.2f\n", Xout, Yout);
     
    9293  if (mode == SKY) {
    9394    for (i = 0; i < xvec[0].Nelements; i++) {
    94       XY_to_RD (&xvec[0].elements.Flt[i], &yvec[0].elements.Flt[i], xvec[0].elements.Flt[i], yvec[0].elements.Flt[i], &coords);
     95      double Xin = xvec[0].elements.Flt[i];
     96      double Yin = yvec[0].elements.Flt[i];
     97      xvec[0].elements.Flt[i] = NAN;
     98      yvec[0].elements.Flt[i] = NAN;
     99      XY_to_RD (&xvec[0].elements.Flt[i], &yvec[0].elements.Flt[i], Xin, Yin, &coords);
    95100    }
    96101    return (TRUE);
     
    98103  if (mode == PIXEL) {
    99104    for (i = 0; i < xvec[0].Nelements; i++) {
    100       RD_to_XY (&xvec[0].elements.Flt[i], &yvec[0].elements.Flt[i], xvec[0].elements.Flt[i], yvec[0].elements.Flt[i], &coords);
     105      double Xin = xvec[0].elements.Flt[i];
     106      double Yin = yvec[0].elements.Flt[i];
     107      xvec[0].elements.Flt[i] = NAN;
     108      yvec[0].elements.Flt[i] = NAN;
     109      Xin = ohana_normalize_angle_to_midpoint (Xin, coords.crval1);
     110      RD_to_XY (&xvec[0].elements.Flt[i], &yvec[0].elements.Flt[i], Xin, Yin, &coords);
    101111    }
    102112    return (TRUE);
  • trunk/Ohana/src/opihi/cmd.astro/init.c

    r32632 r33662  
    1515int flux                    PROTO((int, char **));
    1616int fixwrap                 PROTO((int, char **));
     17int fiximage                PROTO((int, char **));
    1718int fixcols                 PROTO((int, char **));
    1819int fixrows                 PROTO((int, char **));
     
    4546int sexigesimal             PROTO((int, char **));
    4647int spec                    PROTO((int, char **));
     48int specpairfit             PROTO((int, char **));
     49int spexseq                 PROTO((int, char **));
     50int spex1dgas               PROTO((int, char **));
     51int spex2dgas               PROTO((int, char **));
     52int mkclusters              PROTO((int, char **));
    4753int star                    PROTO((int, char **));
    4854int times                   PROTO((int, char **));
     
    6470  {1, "flux",        flux,         "flux in a convex contour"},
    6571  {1, "fixwrap",     fixwrap,      "fix megacam over-wrapped pixels"},
     72  {1, "fiximage",    fiximage,     "fix pixels in an image by interpolation"},
    6673  {1, "fixcols",     fixcols,      "fix bad columns by comparing with others"},
    6774  {1, "fixrows",     fixrows,      "fix bad rows by comparing with others"},
     
    93100  {1, "sexigesimal", sexigesimal,  "convert to/from sexigesimal/decimal"},
    94101  {1, "spec",        spec,         "extract a spectrum"},
     102  {1, "specpairfit", specpairfit,  "fit spectrum to another spectrum"},
     103  {1, "spexseq",     spexseq,      "generate the spectral sequence"},
     104  {1, "spex1dgas",   spex1dgas,    "minimize distances in 1D"},
     105  {1, "spex2dgas",   spex2dgas,    "minimize distances in 2D"},
     106  {1, "mkclusters",  mkclusters,   "group spectra by distance"},
    95107  {1, "star",        star,         "star stats at rough coords"},
    96108  {1, "transform",   transform,    "geometric transformation of image"},
Note: See TracChangeset for help on using the changeset viewer.