Skip to content

Commit

Permalink
Fix spectra
Browse files Browse the repository at this point in the history
  • Loading branch information
samaloney committed Dec 7, 2023
1 parent 71771aa commit 11f8ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stixcore/products/level0/quicklookL0.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ def from_levelb(cls, levelb, parent=''):
triggers = packets.get_value('NIX00484').T.reshape(-1)
triggers_var = packets.get_value('NIX00484', attr='error').T.reshape(-1)

if control['compression_scheme_triggers_skm'] == [0, 0, 7]:
if control['compression_scheme_triggers_skm'].tolist == [[0, 0, 7]]:
logger.debug('Unscaling trigger ')
triggers, triggers_var = unscale_triggers(
triggers, integration=duration, detector_masks=control['detector_mask'],
Expand Down

0 comments on commit 11f8ef9

Please sign in to comment.