straxen.plugins.records_he package
Submodules
straxen.plugins.records_he.records_he module
- class straxen.plugins.records_he.records_he.PulseProcessingHighEnergy[source]
Bases:
PulseProcessing
High energy channels: attenuated signals of the top PMT-array
- Split raw_records into:
(tpc) records
aqmon_records
pulse_counts
- For TPC records, apply basic processing:
Flip, baseline, and integrate the waveform
Apply software HE veto after high-energy peaks.
Find hits, apply linear filter, and zero outside hits.
pulse_counts holds some average information for the individual PMT channels for each chunk of raw_records. This includes e.g. number of recorded pulses, lone_pulses (pulses which do not overlap with any other pulse), or mean values of baseline and baseline rms channel.
- child_plugin = True
- compressor = 'zstd'
- data_kind: Union[str, immutabledict, dict] = {'pulse_counts_he': 'pulse_counts_he', 'records_he': 'records_he'}
- hit_min_amplitude_he
Dispatch on URL protocol.
unrecognized protocol returns identity inspired by dasks Dispatch and fsspec fs protocols.
- n_he_pmts
Dispatch on URL protocol.
unrecognized protocol returns identity inspired by dasks Dispatch and fsspec fs protocols.
- rechunk_on_save = immutabledict({'records_he': False, 'pulse_counts_he': True})
- record_length
Dispatch on URL protocol.
unrecognized protocol returns identity inspired by dasks Dispatch and fsspec fs protocols.
- save_when = 2
- takes_config = immutabledict({'hev_gain_model': <straxen.url_config.URLConfig object>, 'baseline_samples': <straxen.url_config.URLConfig object>, 'tail_veto_threshold': <straxen.url_config.URLConfig object>, 'tail_veto_duration': <straxen.url_config.URLConfig object>, 'tail_veto_resolution': <straxen.url_config.URLConfig object>, 'tail_veto_pass_fraction': <straxen.url_config.URLConfig object>, 'tail_veto_pass_extend': <straxen.url_config.URLConfig object>, 'max_veto_value': <straxen.url_config.URLConfig object>, 'pmt_pulse_filter': <straxen.url_config.URLConfig object>, 'save_outside_hits': <straxen.url_config.URLConfig object>, 'n_tpc_pmts': <straxen.url_config.URLConfig object>, 'check_raw_record_overlaps': <straxen.url_config.URLConfig object>, 'allow_sloppy_chunking': <straxen.url_config.URLConfig object>, 'hit_min_amplitude': <straxen.url_config.URLConfig object>, 'n_he_pmts': <straxen.url_config.URLConfig object>, 'record_length': <straxen.url_config.URLConfig object>, 'hit_min_amplitude_he': <straxen.url_config.URLConfig object>})