IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 5, 2010, 2:31:06 PM (16 years ago)
Author:
Paul Price
Message:

Output ds9 region files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppViz/src/ppCoord/ppCoordLoop.c

    r27575 r27605  
    314314                    rawFile ? " " : "",
    315315                    rawFile && cellName ? cellName : (rawFile ? "UNKNOWN" : ""));
     316            if (!rawFile && data->ds9) {
     317                // Region file is only appropriate if we're not mapping all the way back to cell coordinates
     318                fprintf(data->ds9, "image;circle(%f,%f,%f) # color=%s",
     319                        xPix->data.F32[i], yPix->data.F32[i], data->ds9radius, data->ds9color);
     320            }
    316321        }
    317322    }
Note: See TracChangeset for help on using the changeset viewer.