-
Notifications
You must be signed in to change notification settings - Fork 4
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
Comments
It may be a problem with the cube WCS. Can you tell me what is printed out by cube.info() ?
Envoyé de mon iPhone
… Le 19 juil. 2021 à 15:17, wegojobs ***@***.***> a écrit :
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)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
3682x318x324 Cube(NGC 1097) |
3682x318x324 Cube(NGC 1097) |
The center you indicate is outside the cube
Cube center is 2.77 degree and you ask for 41 degree (center=(-30.2837, 41.5688))
…-------------------------------------------
Roland Bacon
CRAL - Observatoire de Lyon
9, avenue Charles André
69230 Saint-Genis-Laval
tel: +33 478 86 85 59
mobile: +33 608 09 14 27
On 21 Jul 2021, at 14:01, wegojobs ***@***.***> wrote:
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
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#22 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ALIORVA2Z32J7C2MNZHNDYTTY2ZH7ANCNFSM5ATV6N3Q>.
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)
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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)
The text was updated successfully, but these errors were encountered: