IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 10 and Version 11 of Ask_an_expert


Ignore:
Timestamp:
Aug 10, 2009, 2:10:46 PM (17 years ago)
Author:
pitts
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Ask_an_expert

    v10 v11  
    2626            1) You can use "mextract" to pull individual measurements, including magnitude (using the proper photcode) and time of the measurment (using the "time" keyword). Eventually, you will be able to use the "OBJID" keyword to pull all the measurements associated with a given object, but for now you can use the RA and DEC keywords to isolate the object (i.e., use boolean logic to pull out all measurments within about 1 arcsec of the object):
    2727             -> catdir (data catalog)
     28
    2829             -> region (ra) (dec) (radius)
     30
    2931             -> define values for object's position obj_ra and obj_dec
     32
    3033             -> mextract -region (photcode),(photcode):err,time where (sqrt(((RA-obj_ra)*cos(DEC))^2 + (DEC-obj_dec)^2) <= 0.0003)
     34
    3135            2) Now you can plot up the data:
    3236             -> set xvec = time; set yvec = (photcode); set zvec = (photcode):err
     37
    3338             -> device -n lightcurve
     39
    3440             -> labels -fn times 14 -x "time (sec)" -y "mag" +x "Lightcurve"
     41
    3542             -> limits xvec yvec; box -lw 2
     43
    3644             To plot points:
     45
    3746             -> plot -x 2 -pt 1 -sz 1.5 -c black xvec yvec -dy zvec
     47
    3848             To connect the points:
     49
    3950             -> plot -x 0 -lt 0 -lw 1 -c green xvec yvec
    4051