tpb_daq
Currently a repository dedicated to working around lecroy TRC files and using python for basic waveform analysis.
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.7%) to scientific vocabulary
Repository
Currently a repository dedicated to working around lecroy TRC files and using python for basic waveform analysis.
Basic Info
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
TPB_DAQ
Currently a repository dedicated to working around lecroys TRC files and using python for basic baseline subtraction. The current format consists of folders that contain example files, output files, obsolete and relevant scripts, and miscellaneous documentation.
Folders
TPClabtesting
TRC files containing PMT waveforms from a lecroy waverunner 8000 series oscilloscope. Used for testing certain scripts dependent on said TRCs.
core
Folder containing the basic functions used to run most relevant scripts in this repository. (Hopefully) well documented for adaptability.
docs
Documentation for the core functions (WIP)
obs
Obsolete functions still kept for being useful in the future
output
Output from processing PMT waveforms, consisting of charge integrals
output waveforms
Output from processing PMT waveforms, consisting of averaged waveforms
testing_output
Bin for useless outputs from scripts
Scripts
analyse_trc.py
Simple script that outputs plot and ADC score for any TRC file passed to it. Assuming file structure matches expected 'C1--PMT-testcalibrationlong--' format.
apply_fits.py
Script that applies 2 gaussian fits to charge histogram .npy data. Can be adapted for N gaussian fits.
data_binning.py
Binning script that has untested functionality.
parsedata.py/parsedat.py
Takes folder of TRC files and creates integrated charge histogram, outputs to output/run_NN folder integrated data and basic plot. Two versions currently exist. _data is original working version, _dat is version using core/processing functions and may be buggy
parsedatawaveforms.py
Takes folder of TRC files and creates dumb waveform data, outputs to outputwaveforms/runNN folder waveform plotting data. Use in conjunction with plot_data.py.
plot_events.py
Plots TRC files iteratively from PATH
process_waveforms.py
Subtract one waveform from another and then view these subtracted waveforms and save them. Simple script, should be absorbed into something else
Owner
- Name: John Waiton
- Login: jwaiton
- Kind: user
- Location: Manchester, United Kingdom
- Website: pullummedia.wordpress.com
- Repositories: 1
- Profile: https://github.com/jwaiton
PhD @ UoM. I mostly upload code for my university projects here (private and public). Hoping to work on some games in the near future.