Re-Graphing final results


This page attempts to put enough data files and supermongo code online in order to reconstruct any of the graphs shown on the final results page.

Real Data: [PNe28]

Anything can be regraphed. You will need the regraph.sm file found in this directory, and the appropriate *.stats files, nestled in the data/ folder so as to stay out of the way.

regraph.sm has parameters/settings at the beginning telling it which images/fields and ranges to use:

    #set running parameters up:
    #set version to read from: 28 - real data, 26 - theoretical data
    define v 28
   
    #set contamination fraction: 0 = 0%, 2, 4, 6, 8, 10 = 100%
    define c 0
   
    #set proportion fraction: 10 = 10%, 50, 100, 200, 300, 500 = 500%
    define p 100
   
    #set field/image: 3.fits, 3m.fits, 4.fits, 4m.fits, etc etc.
    define imag 3.fits
   
    #set ranges to plot over [probably shouldn't have to mess with this]
    set ra = { 5 7 9 11 13 15 25 35 45 55 }
   

Set them as you need, noting that a v of 28 means we're using the Real Data. The above ranges are complete, we dropped the range of 65 recently as it took something like 50% or 60% of the TOTAL running time for each trial.

NOTE: sometimes parameters will be ignored - i.e. if you select to use real data (v = 28), there are no contamination/proportion fractions that apply, as there is only one data set.

By default the device is set to x11 but change as desired.


Theoretical Data: [PNe26]

Again, you can regraph any of the selections from the PNe26 page, setting contamination fraction and the proportion of catalog in the regraph.sm file.
Just set the parameters right and it will do anything.



Combined Plots:

So you want multiple versions on the same plot, eh? Easy. The answer is in regraph2.sm program.

This program is very similar to the first program, except that it plots up 2 sets of data on the same plot. Specify running parameters the same way, except
    now you also need to manually set limits on the plots, as it's too dumb to know how to make limits based on both data sets.

    #set running parameters up:
    #set version to read from: 28 - real data, 26 - theoretical data
    #green plot:
    define v1 28
    #black plot
    define v2 26
   
    #set contamination fraction: 0 = 0%, 2, 4, 6, 8, 10 = 100%
    #green plot:
    define c1 0
    #black plot:
    define c2 2
   
    #set proportion fraction: 10 = 10%, 50, 100, 200, 300, 500 = 500%
    #green plot:
    define p1 100
    #black plot:
    define p2 100
   
    #set field/image: 3.fits, 3m.fits, 4.fits, 4m.fits, etc etc.
    #green plot
    define imag1 3.fits
    #black plot - MUST BE THE SAME, duh. (Scaling issues)
    define imag2 $imag1
   
    #define limits for graphs
     #on 1+
     define wmin 12
     define wmax 27
     #on random
     define randmin 11
     define randmax 18
     #on 0
     define womin 6
     define womax 22



Back to Final PNe Analysis

Back to main Virgo page