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

enable primary beam correction in spimple-imconv #17

Open
MikaNaidoo opened this issue Oct 22, 2024 · 4 comments
Open

enable primary beam correction in spimple-imconv #17

MikaNaidoo opened this issue Oct 22, 2024 · 4 comments

Comments

@MikaNaidoo
Copy link

How does one go about enabling the primary beam correction for this command. I have specified the beam but the primary beam correction is not being applied.

@landmanbester
Copy link
Owner

How did you specify the beam? Can you please provide the command you used?

@MikaNaidoo
Copy link
Author

I used the following command:
spimple-imconv -image /home/mika/ladumaredux/pipeline/output-20240513/1602964865_sdp_l0.8k-J03323_28075-corr-2GC2-MFS-image.fits -o pbcorimage.fits -band l

@landmanbester
Copy link
Owner

Ah, you need to either pass in a fits power beam model as -bm /path/to/beam.fits (you can make one using the spimple-binterp app if you have the beams somewhere) or just use KatBeam with -bm JimBeam. The latter is less accurate but much easier. Note that you can apply the beam on the fly if you are using this for spectral index maps by using the same parameters for the spimple-spifit app

@MikaNaidoo
Copy link
Author

Thank you this worked perfectly!

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