CARTAvis / carta

To CARTA users, this repo holds the CARTA release packages. Please use this repo to log bugs and feature requests. These will be triaged by the development team and prioritised as necessary in the development cycles.
19 stars 0 forks source link

Feature request: PV reshape #143

Open keflavich opened 2 years ago

keflavich commented 2 years ago

If I create a PV diagram from a full cube, it's squished - it would be nice to be able to reshape the pixels.

image

And related: it would be helpful, in the pv extractor dialog, to be able to downselect in frequency so that a particular line can be selected.

kswang1029 commented 2 years ago

@keflavich for pv image rendering, the aspect ratio is fixed to the image aspect ratio. For now you will need to resize your image viewer widget to get a better view of the features in the pv image. Making the pixel aspect ratio configurable will require quite some time so please be patient on this.

As for recalculating the velocity axis of the pv image, you can go to the settings dialog of the image list widget and apply a new rest frequency. Once you have done so you should see the velocity axis being recalculated.

kswang1029 commented 2 years ago

if you refer to slicing only through part of channels of the cube, we can try to support it.

keflavich commented 2 years ago

I understand that non-square pixels could be a pain, so I think it is reasonable to consider that a low priority.

The other request, though, seems like it should be of general use, i.e., slicing through only a subset of the cube's channels. (This is what I was asking for)

kswang1029 commented 2 years ago

slicing a subset of channels is registered https://github.com/CARTAvis/carta-frontend/issues/1863 https://github.com/CARTAvis/carta-backend/issues/1110

kswang1029 commented 2 years ago

pv reshape registered: https://github.com/CARTAvis/carta-frontend/issues/1864