Skip to content

support loading a Stokes hypercube #90

@kswang1029

Description

@kswang1029

With the CARTA GUI, we can select 2-4 individual Stokes images to form a Stokes hypercube.

Screen Shot 2023-03-22 at 12 27 29

In the scripting interface, we would need to support this feature too. As in the GUI there is an extra step to do file to Stokes components mapping, I suggest we make a new function like Session.load_Stokes_hypercube() with args as
paths (a list of images) and Stokes_mapping (a list of Stokes components). For example,

session = Session.start_and_create(...)
img = session.load_Stokes_hypercube(paths=["M51_band3_I.fits", "M51_band3_Q.fits", "M51_band3_U.fits"], Stokes_mapping=["I", "Q", "U"])

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions