Skip to content

Commit

Permalink
Merge pull request #237 from AxFoundation/restore_baseline
Browse files Browse the repository at this point in the history
Add baseline back into raw_records
  • Loading branch information
JelleAalbers authored Mar 3, 2020
2 parents 6257373 + 5ca4f6e commit c8e027e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions strax/dtypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ def raw_record_dtype(samples_per_record=DEFAULT_RECORD_LENGTH):
'pulse_length'), np.int32),
(('Fragment number in the pulse',
'record_i'), np.int16),
(('Baseline determined by the digitizer (if this is supported)',
'baseline'), np.int16),
# Note this is defined as a SIGNED integer, so we can
# still represent negative values after subtracting baselines
(('Waveform data in raw ADC counts',
Expand Down

0 comments on commit c8e027e

Please sign in to comment.