IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25085


Ignore:
Timestamp:
Aug 16, 2009, 7:15:43 PM (17 years ago)
Author:
Sebastian Jester
Message:

Fix filterGoodVal2(); Add testing instructions on personal laptop;
prettify comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/sj_branches/sj_ippTests_branch_20080929/ippTests/compIPPphoto.py

    r24069 r25085  
    6464#   Note 253" - somewhere on the web as sun253.html
    6565#
    66 
    67 
     66#
     67#
    6868# XXX Todo: labels! group by runs? different colours for different
    6969# bands; include seeing? plot things against seeing?
    70 
     70#
    7171# Also: the plotcol lists need to be grouped into things that are to
    7272# appear on the same page. For the beginning, that's the entire list
    7373# (and that's probably quite enough anyway).
    74 
     74#
    7575# Looking at the extended flag in PS1 vs. SDSS is done via d_pointsource.
    76 
     76#
     77# For running in earnest:
    7778# os.chdir('/disk1/jester/IPP/data/SDSS/stripe82/coadd/compare')
    7879# execfile('/disk1/jester/usrdevel/ipp_sj/ippTests/compIPPphoto.py')
    7980# h1,h2=compIPPphoto('test.fits','new',workdir='/IPP/data/SDSS/stripe82/coadd/compare',runlist=[1056,1755])
    80 
     81#
     82# For testing on laptop:
     83# os.chdir('/Users/jester/science/sdss/coadd/Hawaii/compare_tsObj')
     84# execfile('/Users/jester/usrdevel/ipp_ippTests_branch/ippTests/compIPPphoto.py')
     85# h1,h2=compIPPphoto('test.fits','new',workdir='/Users/jester/science/sdss/coadd/Hawaii/compare_tsObj',runlist=[1056,1755])
     86#
    8187# Here follow two specially formatted lists governing which plots are
    8288# made. The first is for plots being done on a field-by-field basis,
     
    276282    """Make diagnostic plots for a single table, based on values in
    277283    values_hash"""
    278     # XXX Todo: window commands instead of (or in addition to?) psnup
    279     # for putting plots on same paper
    280284    from subprocess import call
    281285    from numpy import concatenate
     
    633637        goodcondition &= (col2 != val)
    634638    col1 = col1[goodcondition]
    635     col2_good = col2[goodcondition]
     639    # For some reason, the following line used to be
     640    # col2_good = col2[goodcondition]
     641    # which looks like an error
     642    col2 = col2[goodcondition]
    636643    return col1,col2
    637644    #
Note: See TracChangeset for help on using the changeset viewer.