foxsi / foxsi-smex

Tools for scientists to investigate the capabilities of FOXSI
MIT License
2 stars 8 forks source link

Tweak energy bin inputs in foxsi_get_output_image_cube #27

Open LinErinG opened 8 years ago

LinErinG commented 8 years ago

If a "proper" image cube is given to foxsi_get_output_image_cube, i.e. a plot_map array of images in different energy bins with the structure tags including the energy bin edges, then we don't need to additionally tell the function what those energy bin edges are. (It should strip them right from the input structure.) Right now, that is what effectively happens, but the code header and the command line warnings that pop up indicate something different.