<commit_before>[pax]

parent_configuration = 'XED'

dsp = ['BuildWaveforms.BuildWaveforms',
       'Filtering.Filtering',
       'newDSP.FindPeaks',
       'newDSP.SplitPeaks',
       'newDSP.ComputePeakProperties',
       'newDSP.IdentifyPeaks',
       ]

output = [  'HDF5.HDF5Output',
            #'Plotting.PlotWaveform',
            #'CSV.WritePeaksCSV',
         ]


[CSV.WritePeaksCSV]
output_file = 'newdsp_output.csv'

[Plotting]
waveforms_to_plot = (
        {'internal_name': 'veto', 'plot_label': 'Veto (raw)'},
        {'internal_name': 'tpc',  'plot_label': 'TPC (raw)'},
        {'internal_name': 'tpc_s2',  'plot_label': 'TPC (filtered for s2)'},
        {'internal_name': 'tpc_s1',  'plot_label': 'TPC (filtered for s1)'},
        {'internal_name': 'bandpass_attempt',  'plot_label': 'Attempt at bandpass filtering'},
    )

[BuildWaveforms.BuildWaveforms]
build_nominally_gain_corrected_waveforms = False

[Filtering.Filtering]
simulate_Xerawdp_convolution_bug = False
filters = (
        {'name' : 'bandpass_attempt',  'source' : 'tpc', 'low_freq_bound': 1/(5*us), 'high_freq_bound': 1/(1*us)},
        {'name' : 'tpc_s2',  'source' : 'tpc',  'impulse_response' : (
            0.005452,  0.009142,  0.013074,  0.017179,  0.021381,  0.025597,  0.029746,  0.033740,  0.037499,
            0.040941,  0.043992,  0.046586,  0.048666,  0.050185,  0.051111,  0.051422,  0.051111,  0.050185,
            0.048666,  0.046586,  0.043992,  0.040941,  0.037499,  0.033740,  0.029746,  0.025597,  0.021381,
            0.017179,  0.013074,  0.009142,  0.005452
        )},
        {'name' : 'tpc_s1',  'source' : 'tpc',  'impulse_response' : (
            0.05, 0.1, 0.2, 0.3, 0.2, 0.1, 0.05
        )},
        {'name' : 'veto_s1', 'source' : 'veto', 'impulse_response' : (
            0.05, 0.1, 0.2, 0.3, 0.2, 0.1, 0.05
        )},
    )<commit_msg>newDSP config does not restrict you to XED input<commit_after># This config file is not functional by itself, you also need to load e.g. Xenon100 or XED

[pax]
dsp = ['BuildWaveforms.BuildWaveforms',
       'Filtering.Filtering',
       'newDSP.FindPeaks',
       'newDSP.SplitPeaks',
       'newDSP.ComputePeakProperties',
       'newDSP.IdentifyPeaks',
       ]

[CSV.WritePeaksCSV]
output_file = 'newdsp_output.csv'

[Plotting]
waveforms_to_plot = (
        {'internal_name': 'veto', 'plot_label': 'Veto (raw)'},
        {'internal_name': 'tpc',  'plot_label': 'TPC (raw)'},
        {'internal_name': 'tpc_s2',  'plot_label': 'TPC (filtered for s2)'},
        {'internal_name': 'tpc_s1',  'plot_label': 'TPC (filtered for s1)'},
        {'internal_name': 'bandpass_attempt',  'plot_label': 'Attempt at bandpass filtering'},
    )

[BuildWaveforms.BuildWaveforms]
build_nominally_gain_corrected_waveforms = False

[Filtering.Filtering]
simulate_Xerawdp_convolution_bug = False
filters = (
        {'name' : 'bandpass_attempt',  'source' : 'tpc',
         'low_freq_bound': 1/(5*us),
         'high_freq_bound': 1/(0.5*us),
         'filter_order': 5, # Higher means: sharper drop-off in frequency response
        },
        {'name' : 'tpc_s2',  'source' : 'tpc',  'impulse_response' : (
            0.005452,  0.009142,  0.013074,  0.017179,  0.021381,  0.025597,  0.029746,  0.033740,  0.037499,
            0.040941,  0.043992,  0.046586,  0.048666,  0.050185,  0.051111,  0.051422,  0.051111,  0.050185,
            0.048666,  0.046586,  0.043992,  0.040941,  0.037499,  0.033740,  0.029746,  0.025597,  0.021381,
            0.017179,  0.013074,  0.009142,  0.005452
        )},
        {'name' : 'tpc_s1',  'source' : 'tpc',  'impulse_response' : (
            0.05, 0.1, 0.2, 0.3, 0.2, 0.1, 0.05
        )},
        {'name' : 'veto_s1', 'source' : 'veto', 'impulse_response' : (
            0.05, 0.1, 0.2, 0.3, 0.2, 0.1, 0.05
        )},
    )
{'fraction_non_alphanumeric': 0.17125622869131918, 'fraction_numerical': 0.13821138211382114, 'mean_word_length': 2.6289248334919124, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3355193', 'n_tokens_mistral': 1870, 'n_tokens_neox': 1566, 'n_words': 279}