Commit graph

1,870 commits

Author SHA1 Message Date
Robert Elftmann
108196664c het_pen_2d.dat: Contains data for e-,H,He,C,N,O,Fe.
solo_data.py: Changed descriptions of het_pen boxes.
solo_printer.py: Adds descriptions(if given) in a new row in the pretty_printer table.


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6148 bc5caf13-1734-44f8-af43-603852e9ee25
2017-07-14 11:41:57 +00:00
Lauri Panitzsch
6572c43233 moved STEP FM and FS temperature calibration skripts and results to subfolder "step_T-calib"
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6147 bc5caf13-1734-44f8-af43-603852e9ee25
2017-07-13 11:58:05 +00:00
Lauri Panitzsch
70327a8abe STEP_FS_testpulser_Ba133_calibration_JUPYTER.ipynb: Corrected STEP FS thermal calibration calculations (9keV ref line changed to 8.048keV) and updated to be uniform with STEP FM output, accordingly added the new generated calibration files as given below (all files also added in .pickle format):
STEP_FS_T-correlated_calibration_cubic.dat
    STEP_FS_T-correlated_calibration_square.dat
    STEP_FS_calibration_for_IX_21.9_degC.dat
    STEP_FS_calibration_for_IX_8.5_degC.dat
    STEP_FS_calibration_for_IX_-4.8_degC.dat
    STEP_FS_calibration_for_IX_-17.1_degC.dat
    STEP_FS_calibration_for_IX_-29.6_degC.dat
    STEP_FS_calibration_for_IX_-42.2_degC.dat
    STEP_FS_calibration_for_IX_-52.1_degC.dat


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6146 bc5caf13-1734-44f8-af43-603852e9ee25
2017-07-13 11:46:31 +00:00
Lauri Panitzsch
9d39636435 STEP_FM_testpulser_Ba133_calibration_JUPYTER.ipynb: unified graphical and textual output with STEP FS thermal calibration, returns two separate files for square and cubic correlation. New generated files are:
STEP_FM_T-correlated_calibration_cubic.dat
    STEP_FM_T-correlated_calibration_cubic.pickle
    STEP_FM_T-correlated_calibration_square.dat
    STEP_FM_T-correlated_calibration_square.pickle
The other files generated with this .ipynb file did not change. 


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6145 bc5caf13-1734-44f8-af43-603852e9ee25
2017-07-13 11:30:10 +00:00
Sebastian Boden
c2f98e5c7f solo_data.py: Fixed some problems for het_box
solo_printer.py: Now properly plotting histogram boxes


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6144 bc5caf13-1734-44f8-af43-603852e9ee25
2017-07-11 10:16:58 +00:00
Robert Elftmann
bfefe71712 solo_data.py: Implemented HET boxes and data products;
fixed skew calculation for HET dps
solo_printer.py: Added HET pretty printer



git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6143 bc5caf13-1734-44f8-af43-603852e9ee25
2017-07-10 15:13:30 +00:00
Sebastian Boden
5390dab0ff STEP_FM_T-correlated_calibration.l3: regenerated to account for Lauri's changes
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6142 bc5caf13-1734-44f8-af43-603852e9ee25
2017-07-10 11:42:41 +00:00
Lauri Panitzsch
1033c91340 STEP_FM_thermal_calibration: Corrected calibration scripts (ipynb) and results.
The previous results based on the copper fluorescence line at 9keV but it is at 8keV.
Energy of the detekted peak has been corrected, correlations/fits were re-calculated. 
The following files have been corrected:
    STEP_FM_T-correlated_calibration.dat
    STEP_FM_T-correlated_calibration.pickle
    STEP_FM_calibration_for_IX_-11.5_degC.dat
    STEP_FM_calibration_for_IX_-11.5_degC.pickle
    STEP_FM_calibration_for_IX_-24.7_degC.dat
    STEP_FM_calibration_for_IX_-24.7_degC.pickle
    STEP_FM_calibration_for_IX_-38.2_degC.dat
    STEP_FM_calibration_for_IX_-38.2_degC.pickle
    STEP_FM_calibration_for_IX_-51.0_degC.dat
    STEP_FM_calibration_for_IX_-51.0_degC.pickle
    STEP_FM_testpulser_Ba133_calibration_JUPYTER.ipynb



git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6138 bc5caf13-1734-44f8-af43-603852e9ee25
2017-07-03 19:32:28 +00:00
Stephan I. Böttcher
f48c79b78d C'E4 L3 work in progress
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6135 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-30 19:42:24 +00:00
Sebastian Boden
63b8bba948 solo_data.py: added het_box class for pre-defined HET penetrating boxes;
also allow defining bins by their histogram coordinates 
	instead of the energy and ratio (use flag "raw")


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6126 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-19 14:16:09 +00:00
Jan Christoph Terasa
9ba43f944b step_base_config.py: Fixed and moved calib modes.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6124 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-19 11:20:12 +00:00
Sebastian Boden
a46bc3c6e9 solo_data.py: Added class ept_box for predefined boxes in the penetrating histogram, HET version to follow
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6122 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-16 13:26:27 +00:00
Jan Christoph Terasa
9a184b63eb step_base_config.py: Major rewrite, WIP.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6120 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-16 13:08:29 +00:00
Jan Christoph Terasa
20a3557787 step_ppss.py: Automatically rewrite dps-falgs for small pixels.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6119 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-16 13:08:13 +00:00
Jan Christoph Terasa
d1f44c8cd7 step_l3_trigger.py: Add svn revision.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6118 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-16 13:07:47 +00:00
Jan Christoph Terasa
b95e9d1273 l3.py: diff() takes difference of two l3trigger configs.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6117 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-15 13:16:26 +00:00
Jan Christoph Terasa
dc0d635cc4 dps_table.py: Subtract a dps_table or dps_product to get tthe difference of two tables or products.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6112 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-14 15:25:17 +00:00
Jan Christoph Terasa
b66909e70f ppss_table.py: Removed debug code and overload __eq__ and __ne__.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6111 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-14 12:01:39 +00:00
Jan Christoph Terasa
e0098f2f4b ppss_table.py: Add ppss_table.diff(), returns the exact differences between two tables.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6110 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-14 08:54:22 +00:00
Jan Christoph Terasa
b59358d0cb undo r6108
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6109 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-14 08:52:19 +00:00
Jan Christoph Terasa
e648ef3d8e ppss_table.py: Add ppss_table.diff(), returns the exact differences between two tables.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6108 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-14 08:47:59 +00:00
Jan Christoph Terasa
0ff9c73bf0 step_config: Correctly implement DPS rewrite for small pixels.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6106 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-12 14:41:12 +00:00
Jan Christoph Terasa
c8a55ca8d0 step_base_config.py: Create nom2small mode which only sends the differences of both configs.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6105 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-12 14:02:14 +00:00
Jan Christoph Terasa
d21615fb85 configtable.py: Added __sub__ of configtables to allow computing only differences of two configs.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6104 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-12 14:01:14 +00:00
Stephan I. Böttcher
3629a8f9d4 C'E4 LND configurations database: version 2
burned into FM EEPROM for vib test


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6102 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-12 07:10:01 +00:00
Jan Christoph Terasa
b2579142bf step_sim.py: Add pixel mapping.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6100 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-09 14:27:04 +00:00
Jan Christoph Terasa
989a2173ef step_sim.py: removed handling of small pixels.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6099 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-09 13:19:00 +00:00
Jan Christoph Terasa
61b3404685 l3sim.py: Fixed pha handling.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6098 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-09 13:18:24 +00:00
Jan Christoph Terasa
88a9e9dd67 step_temp_calib.l3: Fixed pedestal calculation.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6097 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-09 13:16:37 +00:00
Stephan I. Böttcher
9e0997f117 ce4_config: main() dumps fm condif to stdout
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6096 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-09 11:32:37 +00:00
Stephan I. Böttcher
3ac2d0b36d ce4_config: add TID in B1H histogram
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6095 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-09 11:18:32 +00:00
Stephan I. Böttcher
b43d4e0d49 ce4_config.do_sft()
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6094 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-09 11:17:50 +00:00
Stephan I. Böttcher
5d58585791 sft_ce4: fix .close_table()
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6093 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-09 11:17:06 +00:00
Stephan I. Böttcher
c5cf16b268 solomsg: msg_print.do_sleep
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6092 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-09 11:16:06 +00:00
Jan Christoph Terasa
9926e3c820 l3/step.l3: Removed dead code from step_l3_trigger.py and renamed some files to sensible names.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6090 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-08 14:22:41 +00:00
Stephan I. Böttcher
7587c3bebe C'E4 LND FM L1 thresholds
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6089 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-08 13:46:53 +00:00
Stephan I. Böttcher
858b191384 C'E4 LND FM room temperature calibration
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6088 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-08 13:46:20 +00:00
Stephan I. Böttcher
93a8f2474e C'E4 config, as used during noise troubleshooting
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6082 bc5caf13-1734-44f8-af43-603852e9ee25
2017-05-31 13:04:36 +00:00
Sebastian Boden
97918cde4d convert_STEP_calib_pickle.py: Added header with .version and .name
STEP_F*_T-correlated_calibration.l3: added Revision and Id keywords
step_calib_new.l3: now loading from the T_correlated files


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6077 bc5caf13-1734-44f8-af43-603852e9ee25
2017-05-30 09:54:17 +00:00
Jan Christoph Terasa
3eb2bc022c STEP/l3: Apply temp calibration to logical pixel mapping instead of physical.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6076 bc5caf13-1734-44f8-af43-603852e9ee25
2017-05-29 14:20:17 +00:00
Jan Christoph Terasa
67712b78b9 step.l3: Tuned PHA record generation.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6075 bc5caf13-1734-44f8-af43-603852e9ee25
2017-05-29 13:56:26 +00:00
Jan Christoph Terasa
67694e8b9b l3/STEP: Convert temp calib pickles to plain text files for L3 consumption.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6074 bc5caf13-1734-44f8-af43-603852e9ee25
2017-05-29 13:28:30 +00:00
Jan Christoph Terasa
1e5fe58c19 step.l3: Major rewrite using macros.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6059 bc5caf13-1734-44f8-af43-603852e9ee25
2017-05-19 18:55:31 +00:00
Sebastian Boden
27f1303484 l3.py: added support for nested for loops and multi-character variable name :)
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6056 bc5caf13-1734-44f8-af43-603852e9ee25
2017-05-19 13:31:43 +00:00
Jan Christoph Terasa
5535e9548d l3.py: Check that loop variable is a single character.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6055 bc5caf13-1734-44f8-af43-603852e9ee25
2017-05-19 13:17:49 +00:00
Jan Christoph Terasa
99120b4bda l3.py: Do not allow nested for-loops.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6054 bc5caf13-1734-44f8-af43-603852e9ee25
2017-05-19 13:12:37 +00:00
Jan Christoph Terasa
5cabb8a8de step_calib_new.l3: use for loop.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6053 bc5caf13-1734-44f8-af43-603852e9ee25
2017-05-19 10:43:24 +00:00
Jan Christoph Terasa
9fa1026c11 l3.py: Added for-loop to directives.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6052 bc5caf13-1734-44f8-af43-603852e9ee25
2017-05-19 10:43:04 +00:00
Sebastian Boden
6b41592d84 step_calib_new.l3: An attempt to do STEP temperature calibration in the l3 code;
it will require the temperature coefficients to be written into l3 files,
  which should be easily automatable by a script.


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6051 bc5caf13-1734-44f8-af43-603852e9ee25
2017-05-18 15:07:13 +00:00
Sebastian Boden
3126a66688 solo_data.py: some data product changes for QL_EPT
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6050 bc5caf13-1734-44f8-af43-603852e9ee25
2017-05-18 09:52:03 +00:00