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

Add a nemoMask script #5

Open
mattyowl opened this issue Mar 15, 2019 · 0 comments
Open

Add a nemoMask script #5

mattyowl opened this issue Mar 15, 2019 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@mattyowl
Copy link
Collaborator

mattyowl commented Mar 15, 2019

Add a script under bin/ that takes as arguments:

  • path to a map (for getting needed pixelization)
  • path to a nemo .fits catalog
  • output file name

and outputs a mask in .fits format (0 = masked, 1 = valid area; this is the format understood by nemo's pointSourceMask config file option). Options could be added for variable masking radius (e.g., based on flux). Options used could perhaps be recorded in the .fits header of the mask (if necessary - maybe at least the path to the source catalog that was used).

It may also be useful for the script to be able to load DS9 .reg files (if we want to mask arbitrary-shaped regions).

@mattyowl mattyowl added enhancement New feature or request help wanted Extra attention is needed labels Mar 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant