IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 12, 2025, 5:00:47 PM (8 months ago)
Author:
eugene
Message:

fixes to cgrid for inverted regions; add features tdhistogram and region; free memory on exit

File:
1 edited

Legend:

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

    r42821 r42942  
    3535    KapaGetImageCoords (kapa, &graphmode.coords);
    3636    KapaGetImageRange (kapa, &graphmode.xmin, &graphmode.xmax, &graphmode.ymax, &graphmode.ymin, &dXpix, &dYpix);
     37    // XXX here (xmin,xmax),(ymin,ymax) are ???
     38    // below, (xmin,xmax),(ymin,ymax) are set to put 0,0 in the graph center (-dx to +dx)
    3739
    3840    set_variable ("XMIN", graphmode.xmin);
     
    4042    set_variable ("YMIN", graphmode.ymin);
    4143    set_variable ("YMAX", graphmode.ymax);
    42 
     44    // XXX Ra,Dec not defined at this point
    4345    set_variable ("RMIN", Ra  + graphmode.xmin);
    4446    set_variable ("RMAX", Ra  + graphmode.xmax);
Note: See TracChangeset for help on using the changeset viewer.