Scripts related to CHAOSjunior.
  • Jupyter Notebook 98.1%
  • Python 1.7%
  • Awk 0.2%
Find a file
2023-12-05 17:38:55 +01:00
.gitignore change gitignore 2023-11-30 09:27:25 +01:00
AHBGOD.py Change AHBGOD.py 2023-07-12 13:37:59 +02:00
bethebloch.ipynb adjusted Plot 2023-11-03 19:14:53 +01:00
boxen.py Energiekalibrierung scheint korrekt zu sein 2023-11-20 17:15:33 +01:00
BoxesDefinitions Started using boxes for fish plots 2023-11-16 15:04:02 +01:00
BoxesEnergiesicherheit Started using boxes for fish plots 2023-11-16 15:04:02 +01:00
cal_HET-B.py Add cal_HET-B.py 2023-07-12 11:53:15 +02:00
calc_geometrical_factor.py Auswertung geom_factor_simulation 2023-11-21 15:50:50 +01:00
count_rates.ipynb Pressure and height plots adjusted 2023-11-18 19:06:16 +01:00
custom.mplstyle Larger labels for plots 2023-10-19 10:16:46 +02:00
EI_interpretation.md Energiekalibration BGO funk 2023-11-17 15:08:59 +01:00
energy_calibration.ipynb Aktuell 2023-11-21 14:10:39 +01:00
ENG_DS_MS5540C_B3.pdf Pressure data is still not correct. 2023-11-01 14:11:18 +01:00
fish.ipynb Added title to plot 2023-09-19 13:40:01 +02:00
fish_plots.ipynb Energiekalibrierung scheint korrekt zu sein 2023-11-20 17:15:33 +01:00
Flight_CHAOSjunior.ipynb Adjusted Plots 2023-11-13 15:11:39 +01:00
geom_factor.txt Auswertung geom_factor_simulation 2023-11-21 15:50:50 +01:00
geometry_factor.ipynb change gitignore 2023-11-30 09:27:25 +01:00
histplot.py Add histplot.py 2023-07-12 11:46:47 +02:00
Paper_keV_silicon.pdf Working on readme 2023-09-19 09:47:15 +02:00
README.md Pressure data is still not correct. 2023-11-01 14:11:18 +01:00
RPi.awk Added .awk file to write an equivalent python-script 2023-07-05 15:27:04 +02:00
rpirena.py Added rpirena.py 2023-07-12 14:11:02 +02:00
RPIRENA_CHAOSjunior.py Fish plots adjusted 2023-12-05 17:38:55 +01:00
Simboxes.pickle Started using boxes for fish plots 2023-11-16 15:04:02 +01:00
STRATO4_CHAOSjunior.py Pressure and height plots adjusted 2023-11-18 19:06:16 +01:00
Test_CHAOSjunior.ipynb Recreated Fish-Plot 2023-09-19 12:47:32 +02:00
Test_RPIRENA_CHAOSjunior.ipynb Druckauswahl funktioniert jetzt. Rpirena Zeit noch mit GPS synchronisieren??? 2023-11-07 14:31:24 +01:00

CHAOSjunior

RPIRENA_CHAOSjunior.py

Contains loader RPIRENA_CHAOSjunior(rpath) for EI-files related to CHAOSjunior. Takes rpath as string to load the file under the given path. The given signal for each detector is divided by 14000 to get the signals in mV. Then Gabriels calibration from his bachelor thesis is used to calculate the signal in keV-silicon (which is still a unit of charge). This value is then multiplied with a factor of 3.62 because 3.62 eV are needed to create one elementary charge in silicon. The deposited energies are stored in MeV. The delta times are calculated in \mu s by dividing the given signal by three.

The detectors have the following names:

  • AA, CC: HET-B detectors
  • B1, B2: photo diodes of BGO crystal

The data is stored in a dictionary with the following keys:

  • {detector} signal: signal as given in the EI-file
  • {detector} mV: signal in mV
  • {detector} keV: deposited energy in keV

Each data point gets the timestamp of the previous housekeeping line:

  • timestamp

Furthermore, the housekeeping data is stored under self.hk.
The pressure data can be found under self.p1 and self.p2 with the temperature correction done in rpirena.py.

STRATO4_CHAOSjunior.py

Contains loader for data from the STRATO4 data logger.

rpath: combines csv-files under this path
files: list of files to load under rpath. If None all csv-files are loaded.
title: optional title for plots

boxen.py

Script to plot boxes for different particles into a given histogram (in our case a fishplot) created by Bornfleth and expanded by Ebeling. Contains multiple functions to work with the boxes and the data within.