Changeset 13147 for fact/tools/pyscripts
- Timestamp:
- 03/19/12 11:52:51 (13 years ago)
- Location:
- fact/tools/pyscripts/tools/cleaning
- Files:
-
- 2 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 2 2 # 3 3 # Dominik Neise 4 4 # 5 5 # cleaning a small step towards the truth 6 from pyfact _rename import *6 from pyfact import RawData 7 7 import os.path 8 8 import matplotlib.pyplot as plt … … 17 17 confirm_next_step = False# this is for user interaction 18 18 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'19 data_file_name = 'data/20120223_212.fits.gz' 20 calib_file_name = 'data/20120223_206.drs.fits.gz' 21 21 if not os.path.isfile(data_file_name): 22 22 print 'not able to find file:', data_file_name … … 52 52 survivors = cleaner(amplitude, return_bool_mask=False ) 53 53 areas.append( area(survivors) ) 54 sizes.append( size(survivors ) )54 sizes.append( size(survivors, amplitude) ) 55 55 56 56 if confirm_next_step: -
fact/tools/pyscripts/tools/cleaning/begin.py
r13088 r13147 1 #!/usr/bin/python -i 1 #!/usr/bin/python -itt 2 2 # 3 3 # Dominik Neise 4 4 # 5 5 # cleaning a small step towards the truth 6 from pyfact _rename import *6 from pyfact import RawData 7 7 import os.path 8 8 import matplotlib.pyplot as plt
Note:
See TracChangeset
for help on using the changeset viewer.