Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

slicing data cube #22

Open
wegojobs opened this issue Jul 19, 2021 · 4 comments
Open

slicing data cube #22

wegojobs opened this issue Jul 19, 2021 · 4 comments

Comments

@wegojobs
Copy link

I am having issues with slicing my data cube. With the error, "the sub-cube boundaries lie outside the cube" . I have retried with different radii, but it still gives me the same error. Please someone help.I have been stuck for the last 1 month. Below is the code i am using.
from mpdaf.obj import Cube
import matplotlib.pyplot as plt
plt.ion()
cube=Cube(filename='NGC 1097.fits')
center=(-30.2837, 41.5688)
subCube=cube.subcube(center, 0.1)

@RolandBacon
Copy link
Contributor

RolandBacon commented Jul 19, 2021 via email

@wegojobs
Copy link
Author

3682x318x324 Cube(NGC 1097)
data (3682x318x324)
center(-30:16:29.9612, 02:46:19.0126) size (63.600", 64.800") step (0.2",0.2") rot:-0.0
wavelength range: 4750.32- 9351.57 Angstrom
step: 1.25

@wegojobs
Copy link
Author

3682x318x324 Cube(NGC 1097)
data (3682x318x324)
center(-30:16:29.9612, 02:46:19.0126) size (63.600", 64.800") step (0.2",0.2") rot:-0.0
wavelength range: 4750.32- 9351.57 Angstrom
step: 1.25
Dorcus

@RolandBacon
Copy link
Contributor

RolandBacon commented Jul 25, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants