You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
E.g. this file solo_L1_stix-sci-xray-cpd_20210521T013011-20210521T031011_V01_2105210020-54527.fits essentially the mrdfits procedure seems to drop dimension of size one or at least compared to python. The count array should have dimensions 32, 12, 32, 1 but after reading it has dimension 32, 12, 32. I found that by hacking the shape data_str_bk.counts = reform(data_str_bk.counts, [32,12,32,1]) of the counts array before line 114 of stx_convert_science_data2ospex.pro it worked as expected.
This could be a more wide spread issue need to test how data with one detector, pixel, or energy work or is it only leading or trailing dimension of size 1 that are dropped.
The text was updated successfully, but these errors were encountered:
samaloney
changed the title
Background data files with only one time bin don't work in spectroscopy pipeline
Background data files with only one time bin don't work as expected in OSPEX
Apr 6, 2023
E.g. this file
solo_L1_stix-sci-xray-cpd_20210521T013011-20210521T031011_V01_2105210020-54527.fits
essentially themrdfits
procedure seems to drop dimension of size one or at least compared to python. The count array should have dimensions32, 12, 32, 1
but after reading it has dimension32, 12, 32
. I found that by hacking the shapedata_str_bk.counts = reform(data_str_bk.counts, [32,12,32,1])
of the counts array before line 114 ofstx_convert_science_data2ospex.pro
it worked as expected.This could be a more wide spread issue need to test how data with one detector, pixel, or energy work or is it only leading or trailing dimension of size 1 that are dropped.
The text was updated successfully, but these errors were encountered: