Ignore:
Timestamp:
03/19/12 11:52:51 (13 years ago)
Author:
neise
Message:
enabled tab checking and excahnged python_rename with python
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/tools/pyscripts/tools/cleaning/area_vs_size.py

    r13131 r13147  
    1 #!/usr/bin/python -i
     1#!/usr/bin/python -itt
    22#
    33# Dominik Neise
    44#
    55# cleaning a small step towards the truth
    6 from pyfact_rename import *
     6from pyfact import RawData
    77import os.path
    88import matplotlib.pyplot as plt
     
    1717confirm_next_step = False# this is for user interaction
    1818
    19 data_file_name = '/media/daten_platte/FACT/data/20120229_144.fits.gz'
    20 calib_file_name = '/media/daten_platte/FACT/data/20120229_132.drs.fits.gz'
     19data_file_name = 'data/20120223_212.fits.gz'
     20calib_file_name = 'data/20120223_206.drs.fits.gz'
    2121if not os.path.isfile(data_file_name):
    2222    print 'not able to find file:', data_file_name
     
    5252        survivors = cleaner(amplitude, return_bool_mask=False )
    5353        areas.append( area(survivors) )
    54         sizes.append( size(survivors) )
     54        sizes.append( size(survivors, amplitude) )
    5555
    5656        if confirm_next_step:
Note: See TracChangeset for help on using the changeset viewer.