UCBerkeleySETI / hyperseti

A SETI / technosignature search code to find intelligent life beyond Earth
https://hyperseti.readthedocs.io
11 stars 4 forks source link

test_hyperseti must not use setigen data directly #19

Closed texadactyl closed 3 years ago

texadactyl commented 3 years ago

Setigen creates a 2-dimensional data array. Hyperseti dedoppler requires a 3-dimensional array.

Suggestion: save the setigen frame.data to a filterbank file instead of attempting to access it directly. That works in turbo_seti quite well. E.g.

frame.save_fil(filename=outpath) d = from_fil(outpath)

frame.save_h5(filename=outpath) d = from_h5(outpath)