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

Strange background flux around transients #78

Open
Astro-Sean opened this issue Jul 20, 2022 · 4 comments
Open

Strange background flux around transients #78

Astro-Sean opened this issue Jul 20, 2022 · 4 comments

Comments

@Astro-Sean
Copy link

Astro-Sean commented Jul 20, 2022

Hi,

Getting nice results with your code - however I have a strange issue when recovering transient flux - the background around the transient is around 4x times less than the image.

I'm using the code snippet from the tutorial. Setting Beta=True gives these results, without it I get strange residuals of the host galaxy. Any helps would be much appreciated.

result = subtract( ref=ref, new=sci, smooth_psf=False, fitted_psf=True, align=False, iterative=False, beta=True, shift=False)

image

@BrunoSanchez
Copy link
Collaborator

Hi! This looks strange. It seems related to the background when the code measures the PSF. As if the PSF would tend to sit on a negative background or similar...
What is the mask ourtput?

@pythonPleiades
Copy link

Hello. I'm having the same issue and mostly at galaxy cores and sometime at bright stars. Any help to minimize or remove those artifacts would be appreciated. Cheers.

@BrunoSanchez
Copy link
Collaborator

Hi, can you give me more details? What is the mask output? I am not actively working on the code for a long time, but would be nice to hear more about this problem.

Is it possible to get some reproducible case? can you tar images + script? Thanks

@pythonPleiades
Copy link

Hello Bruno. Thanks for the reply. Similar to Astro-Sean (previous message), I'm using the code from the tutorial:
result = subtract( ref=ref, new=sci, smooth_psf=True, fitted_psf=True, align=False, iterative=False, beta=True, shift=False). I tried different subtraction options but similar results. Here the result with Scorr_diff from NGC 3556:

scorr_diff

Most of the time, I get dark square with a bright star inside, at center. Here the mask result:

mask

Here a copy of the Science and Reference files:
NGC 3556_Reference.zip
Thanks again for your help.

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

3 participants