Skip to content

yt 3D rendering of radio data from SpectralCubeFITSDataset #925

@HealthyPear

Description

@HealthyPear

Hi all,

I have a file from the FUGIN radio survey which I open with spectral-cube resulting in a cube with (GLAT, GLON, VELOCITY) dimensions which I slice, mask and downsample to make it easier to work with. The unit of each pixel is in Kelvin.

I attempted to follow the example here https://spectral-cube.readthedocs.io/en/latest/yt_example.html#visualization-example which uses yt to make a 3D cube rendering, but I get the error

AttributeError: 'SpectralCubeFITSDataset' object has no attribute 'camera'

From the yt documentation it is not clear to me if this is a problem of my file, or its format or if I should use other functions.
I would basically want to see a 3D rendering of the gas clumps, ideally with iso contours.

Did anyone ever do this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions