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

Local background subtraction ERROR #144

Open
jortiz12 opened this issue Sep 10, 2022 · 0 comments
Open

Local background subtraction ERROR #144

jortiz12 opened this issue Sep 10, 2022 · 0 comments

Comments

@jortiz12
Copy link

Hello,
I'm trying to do apperture photometry using a circular apperture, and subtracting the background in a surrounding annulus as described in the tutorial.

My data has shape (436,437), and I'm just testing one apperture (i.e. center[0] and center[1] are scalars in my test case below). However I get the following error,

imagen

I understand that 190532 = 436*437, but don´t understand the reshape-related error.

Any advice would be much appreciated.
Kind Rgds,
Jose

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

1 participant