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

update MuSEEK to protect point sources (in aoflagger), mask(in gain calibration) and recover (after gain calibration) #88

Open
4 tasks done
mariogrs opened this issue Aug 5, 2024 · 3 comments
Assignees
Labels

Comments

@mariogrs
Copy link
Collaborator

mariogrs commented Aug 5, 2024

Given the new point source catalog in #87 (all sources in the catalogue currently have flux > 5 Jy):

  • Write a general "utility" function that read a source catalogue and select sources in the cataloge given a flux threshold
  • Write a function that take a ToD and a list of point sources and return point source flags for the ToD
  • Update the AOFlgger plugins to take a flux threshold that get passed to the above utility functions, and then mask relevant point sources during the flagging. The threshold should be one of the parameter of the plugin
  • Update part of the code that does the gain calibration with the Synchrotron model to also use the point source flags.
@mariogrs
Copy link
Collaborator Author

Is this done?

@kfornaz
Copy link
Collaborator

kfornaz commented Oct 1, 2024

@wkhu-astro checked, update the catalog.

@kfornaz
Copy link
Collaborator

kfornaz commented Oct 29, 2024

@wkhu-astro wrote in the ([https://github.com/meerklass/museek/blob/gain-calibration/museek/util/tools.py]) a function ( point_sources_coordinate(point_source_file_path, point_sources_match_flux) ) which reads a source catalogue and select sources in the catalog given a flux threshold. Also wrote in the same tool.py another function, point_source_flag(ra_point_source, dec_point_source, ra_scan, dec_scan, frequency, beam_threshold, beamsize, beam_frequency), which returns TOD mask for point sources
@wkhu-astro finished updating the Museek, the point source masking module is ready. @kfornaz is testing as described in #89

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

No branches or pull requests

4 participants