ObsCube

class turbustat.cube_tools.ObsCube(cube, mask=None, algorithm=None, beam=None)[source] [edit on github]

Bases: object

A wrapping class of SpectralCube which prepares observational data cubes to be compared to any other data cube.

Parameters:

cube : str

Path to file.

mask : numpy.ndarray, any mask class from spectral_cube, optional

Mask to be applied to the cube.

algorithm : {NAME HERE}, optional

Name of the cleaning algorithm to use.

Attributes Summary

intint
moment0
moment1
moment2

Methods Summary

Attributes Documentation

intint
moment0
moment1
moment2

Methods Documentation

apply_mask(mask=None)[source] [edit on github]

Check if the given mask is acceptable abd apply to SpectralCube.

clean_cube(algorithm=None)[source] [edit on github]
compute_properties()[source] [edit on github]

Use SpectralCube to compute the moments. Also compute the integrated intensity based on the noise properties from Noise.

prep(mask=None, algorithm=None)[source] [edit on github]

Prepares the cube to be compared to another cube.