Small-Bodies-Node / pds4_tools

Python package to read and display NASA PDS4 data.
17 stars 13 forks source link

pds4 viewer : display a spectral profile from a spectral cube. #79

Open mmebsout opened 1 year ago

mmebsout commented 1 year ago

To view an Array_3D_Spectrum data, the PDS4 viewer offers Table or Image options. It would be nice to have a Plot option inside the Image visualisation to view a spectral representation of one pixel.

examples :

3 - a cube of dimension spatial_x/spatial_y/spectral viewed with frames of dimensions spatial_x/spatial_y -> a button "view spectral pixel" would change the cursor to a cross and a selection of pixel would give a graph representation of array_value per spectral axis (frame index)

image

image

1 - a cube of dimension spatial_x/spatial_y/spectral viewed with frames of dimensions (spatial_y or spatial_x)/spectral

2 - similarily in vertical mode

image

3 - a cube of dimension spatial_x/spatial_y/spectral viewed with frames of dimensions spatial_x/spatial_y

-> a button "view spectral pixel" would change the cursor to a cross and a selection of pixel would give a graph representation of array_value per spectral axis (frame index) image