IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16433


Ignore:
Timestamp:
Feb 13, 2008, 3:25:02 PM (18 years ago)
Author:
eugene
Message:

add FreeDVO, cleanup frees

Location:
trunk/Ohana/src/opihi/dvo
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/dvo/dvo.c.in

    r14401 r16433  
    5757void cleanup () {
    5858  QuitKapa ();
     59  ConfigFree ();
     60
     61  FreeBasic ();
     62  FreeData ();
     63  FreeAstro ();
     64  FreeDVO ();
    5965  return;
    6066}
  • trunk/Ohana/src/opihi/dvo/init.c

    r14401 r16433  
    11# include "dvoshell.h"
    22
    3 int avextract       PROTO((int, char **));
    4 int badimages       PROTO((int, char **));
    5 int calextract      PROTO((int, char **));
    6 int calmextract     PROTO((int, char **));
    7 int catlog          PROTO((int, char **));
     3int avextract       PROTO((int, char **));
     4int badimages       PROTO((int, char **));
     5int calextract      PROTO((int, char **));
     6int calmextract     PROTO((int, char **));
     7int catlog          PROTO((int, char **));
    88int catdir_define   PROTO((int, char **));
    9 int ccd             PROTO((int, char **));
    10 int cmatch          PROTO((int, char **));
    11 int cmd             PROTO((int, char **));
    12 int cmpload         PROTO((int, char **));
    13 int cmpread         PROTO((int, char **));
    14 int ddmags          PROTO((int, char **));
    15 int detrend         PROTO((int, char **));
    16 int dmagaves        PROTO((int, char **));
    17 int dmagmeas        PROTO((int, char **));
    18 int dmags           PROTO((int, char **));
    19 int dmt             PROTO((int, char **));
     9int ccd             PROTO((int, char **));
     10int cmatch          PROTO((int, char **));
     11int cmd             PROTO((int, char **));
     12int cmpload         PROTO((int, char **));
     13int cmpread         PROTO((int, char **));
     14int ddmags          PROTO((int, char **));
     15int detrend         PROTO((int, char **));
     16int dmagaves        PROTO((int, char **));
     17int dmagmeas        PROTO((int, char **));
     18int dmags           PROTO((int, char **));
     19int dmt             PROTO((int, char **));
    2020int elixir          PROTO((int, char **));
    2121int fitcolors       PROTO((int, char **));
    2222int fitsed          PROTO((int, char **));
    23 int gcat            PROTO((int, char **));
    24 int getxtra         PROTO((int, char **));
    25 int gimages         PROTO((int, char **));
    26 int gstar           PROTO((int, char **));
    27 int gtypes          PROTO((int, char **));
    28 int images          PROTO((int, char **));
    29 int imbox           PROTO((int, char **));
    30 int imdata          PROTO((int, char **));
    31 int imdense         PROTO((int, char **));
    32 int imextract       PROTO((int, char **));
    33 int imlist          PROTO((int, char **));
    34 int imphot          PROTO((int, char **));
    35 int imrough         PROTO((int, char **));
    36 int imsearch        PROTO((int, char **));
    37 int imstats         PROTO((int, char **));
    38 int lcat            PROTO((int, char **));
    39 int lcurve          PROTO((int, char **));
    40 int lightcurve      PROTO((int, char **));
    41 int mextract        PROTO((int, char **));
    42 int pcat            PROTO((int, char **));
    43 int photcodes       PROTO((int, char **));
    44 int pmeasure        PROTO((int, char **));
    45 int paverage        PROTO((int, char **));
    46 int procks          PROTO((int, char **));
    47 int showtile        PROTO((int, char **));
    48 int skycat          PROTO((int, char **));
    49 int skycoverage     PROTO((int, char **));
    50 int skyregion       PROTO((int, char **));
    51 int simage          PROTO((int, char **));
    52 int subpix          PROTO((int, char **));
     23int gcat            PROTO((int, char **));
     24int getxtra         PROTO((int, char **));
     25int gimages         PROTO((int, char **));
     26int gstar           PROTO((int, char **));
     27int gtypes          PROTO((int, char **));
     28int images          PROTO((int, char **));
     29int imbox           PROTO((int, char **));
     30int imdata          PROTO((int, char **));
     31int imdense         PROTO((int, char **));
     32int imextract       PROTO((int, char **));
     33int imlist          PROTO((int, char **));
     34int imphot          PROTO((int, char **));
     35int imrough         PROTO((int, char **));
     36int imsearch        PROTO((int, char **));
     37int imstats         PROTO((int, char **));
     38int lcat            PROTO((int, char **));
     39int lcurve          PROTO((int, char **));
     40int lightcurve      PROTO((int, char **));
     41int mextract        PROTO((int, char **));
     42int pcat            PROTO((int, char **));
     43int photcodes       PROTO((int, char **));
     44int pmeasure        PROTO((int, char **));
     45int paverage        PROTO((int, char **));
     46int procks          PROTO((int, char **));
     47int showtile        PROTO((int, char **));
     48int skycat          PROTO((int, char **));
     49int skycoverage     PROTO((int, char **));
     50int skyregion       PROTO((int, char **));
     51int simage          PROTO((int, char **));
     52int subpix          PROTO((int, char **));
    5353int version         PROTO((int, char **));
    5454
    5555static Command cmds[] = { 
    56   {"avextract",   avextract,    "extract average data values"},
    57   {"badimages",   badimages,    "look for images with anomalous astrometry"},
    58   {"calextract",  calextract,   "extract photometry calibration"},
    59   {"calmextract", calmextract,  "extract photometry calibration"},
    60   {"catdir",      catdir_define,"re-define CATDIR"},
    61   {"ccd",         ccd,          "plot color-color diagram"},
    62   {"cmatch",      cmatch,       "match two catalogs"},
    63   {"cmd",         cmd,          "plot cmd of stars in current region"},
    64   {"cmpload",     cmpload,      "load cmp file into ?"},
    65   {"cmpread",     cmpread,      "read data from cmp format files"},
    66   {"ddmags",      ddmags,       "plot magnitude differences"},
    67   {"detrend",     detrend,      "extract from detrend database?"},
    68   {"dmagaves",    dmagaves,     "foo"},
    69   {"dmagmeas",    dmagmeas,     "foo"},
    70   {"dmags",       dmags,        "plot differential magnitudes between filters"},
    71   {"dmt",         dmt,          "plot mag scatter"},
    72   {"elixir",      elixir,       "talk to elixir"},
    73   {"fitcolors",   fitcolors,    "fit chip-to-chip color terms"},
    74   {"fitsed",      fitsed,       "fit stellar SEDs to objects"},
    75   {"gcat",        gcat,         "get catalog at location"},
    76   {"gimages",     gimages,      "get images at location"},
    77   {"gstar",       gstar,        "get star statistics"},
    78   {"images",      images,       "plot image boxes"},
    79   {"imbox",       imbox,        "plot expected image box"},
    80   {"imdata",      imdata,       "extract data for specific images"},
    81   {"imdense",     imdense,      "image density plot"},
    82   {"imextract",   imextract,    "extract vectors from catalogs"},
    83   {"imlist",      imlist,       "list image info"},
    84   {"imphot",      imphot,       "image photometry info"},
    85   {"imrough",     imrough,      "get info from imruf database"},
    86   {"imsearch",    imsearch,     "get info from imreg database"},
    87   {"imstats",     imstats,      "plot image statistics"},
    88   {"lcat",        lcat,         "list catalogs in region"},
    89   {"lcurve",      lcurve,       "plot lightcurve for a star"},
    90   {"lightcurve",  lightcurve,   "extract lightcurve for a star"},
    91   {"mextract",    mextract,     "extract measure data values"},
    92   {"pcat",        skycat,       "plot catalog boundaries"},
    93   {"photcodes",   photcodes,    "list photometry codes"},
    94   {"pmeasure",    pmeasure,     "plot individual measurements"},
    95   {"paverage",    paverage,     "plot average magnitude"},
    96   {"procks",      procks,       "plot rocks"},
    97   {"showtile",    showtile,     "plot tile pattern"},
    98   {"skycat",      skycat,       "show sky catalog boundaries"},
    99   {"skycoverage", skycoverage,  "measure image union on sky"},
    100   {"skyregion",   skyregion,    "set sky region for db queries"},
    101   {"simage",      simage,       "plot stars in an image"},
    102   {"subpix",      subpix,       "get subpixel positions"},
    103   {"version",     version,      "show version information"},
    104 //{"addxtra",     addxtra,      "add extra data to object"},
    105 //{"getxtra",     getxtra,      "get extra data from object"},
     56  {1, "avextract",   avextract,    "extract average data values"},
     57  {1, "badimages",   badimages,    "look for images with anomalous astrometry"},
     58  {1, "calextract",  calextract,   "extract photometry calibration"},
     59  {1, "calmextract", calmextract,  "extract photometry calibration"},
     60  {1, "catdir",      catdir_define,"re-define CATDIR"},
     61  {1, "ccd",         ccd,          "plot color-color diagram"},
     62  {1, "cmatch",      cmatch,       "match two catalogs"},
     63  {1, "cmd",         cmd,          "plot cmd of stars in current region"},
     64  {1, "cmpload",     cmpload,      "load cmp file into ?"},
     65  {1, "cmpread",     cmpread,      "read data from cmp format files"},
     66  {1, "ddmags",      ddmags,       "plot magnitude differences"},
     67  {1, "detrend",     detrend,      "extract from detrend database?"},
     68  {1, "dmagaves",    dmagaves,     "foo"},
     69  {1, "dmagmeas",    dmagmeas,     "foo"},
     70  {1, "dmags",       dmags,        "plot differential magnitudes between filters"},
     71  {1, "dmt",         dmt,          "plot mag scatter"},
     72  {1, "elixir",      elixir,       "talk to elixir"},
     73  {1, "fitcolors",   fitcolors,    "fit chip-to-chip color terms"},
     74  {1, "fitsed",      fitsed,       "fit stellar SEDs to objects"},
     75  {1, "gcat",        gcat,         "get catalog at location"},
     76  {1, "gimages",     gimages,      "get images at location"},
     77  {1, "gstar",       gstar,        "get star statistics"},
     78  {1, "images",      images,       "plot image boxes"},
     79  {1, "imbox",       imbox,        "plot expected image box"},
     80  {1, "imdata",      imdata,       "extract data for specific images"},
     81  {1, "imdense",     imdense,      "image density plot"},
     82  {1, "imextract",   imextract,    "extract vectors from catalogs"},
     83  {1, "imlist",      imlist,       "list image info"},
     84  {1, "imphot",      imphot,       "image photometry info"},
     85  {1, "imrough",     imrough,      "get info from imruf database"},
     86  {1, "imsearch",    imsearch,     "get info from imreg database"},
     87  {1, "imstats",     imstats,      "plot image statistics"},
     88  {1, "lcat",        lcat,         "list catalogs in region"},
     89  {1, "lcurve",      lcurve,       "plot lightcurve for a star"},
     90  {1, "lightcurve",  lightcurve,   "extract lightcurve for a star"},
     91  {1, "mextract",    mextract,     "extract measure data values"},
     92  {1, "pcat",        skycat,       "plot catalog boundaries"},
     93  {1, "photcodes",   photcodes,    "list photometry codes"},
     94  {1, "pmeasure",    pmeasure,     "plot individual measurements"},
     95  {1, "paverage",    paverage,     "plot average magnitude"},
     96  {1, "procks",      procks,       "plot rocks"},
     97  {1, "showtile",    showtile,     "plot tile pattern"},
     98  {1, "skycat",      skycat,       "show sky catalog boundaries"},
     99  {1, "skycoverage", skycoverage,  "measure image union on sky"},
     100  {1, "skyregion",   skyregion,    "set sky region for db queries"},
     101  {1, "simage",      simage,       "plot stars in an image"},
     102  {1, "subpix",      subpix,       "get subpixel positions"},
     103  {1, "version",     version,      "show version information"},
     104//{1, "addxtra",     addxtra,      "add extra data to object"},
     105//{1, "getxtra",     getxtra,      "get extra data from object"},
    106106};
    107107
     
    116116  }
    117117}
     118
     119void FreeDVO () {
     120}
Note: See TracChangeset for help on using the changeset viewer.