Closed texadactyl closed 3 years ago
All 3 shape error messages from pytest:
FAILED test/test_hyperseti.py::test_dedoppler_boxcar - TypeError: Invalid shape (32, 1, 256) for image data FAILED test/test_hyperseti.py::test_hitsearch - TypeError: Invalid shape (32, 1, 4096) for image data FAILED test/test_hyperseti.py::test_hitsearch_multi - TypeError: Invalid shape (32, 1, 4096) for image data
@telegraphic Some design decisions are needed about data grabbing.
Need a standard central function for setting up metadata called by from_fil, from_h5, future?
Please do not be in a hurry. Decisions have long-lasting effects on everyone and we are on opposite sides of the world.
No longer present.
hyperseti/plotting.py:
def _imshow(data, metadata, xaxis, yaxis, show_labels=True, show_colorbar=True, *args, **kwargs)
I caused this when I converted data to be 3-dimensional. We need a new "grab_data" with a beam-selection parameter.