[NEW FEATURE]Dummy masked images
Maintainers usually reply within 1 day
@fabianhervaspeters is already working on this.
Since Jan 16, 2023.
Assessment
This issue has not been assessed yet.
Description
The masking step, run_sp_MaMa, takes an external star catalog and then places masks over known bright stars that will saturate the CCDs, leave a halo, etc. Our simulated images dont contain saturated stars, and will not match to real bright stars anyway, since they are not images of the real sky, so we need to skip this step. We also need to create dummy mask files where every pixel is 0 for each exposure. We need to create dummy flags for both exposures AND tiles. Here are the steps to do this:
For exposures: I would add a step to the image splitting module
- Create an option in the config file that says whether or not you are running simulations. If you are running simulations, then do the following
- Create a single blank image that is the size of 1 ccd. All pixels should be integers and be set to 0. For every image in the individual exposures, create a link from this dummy image that takes on the corresponding name of the flag image: eg flag-2106087-9.fits would correspond to image-2106087-9.fits. The flags should be in the same directory as the split images.
For tiles, I would add the step to the uncompress module where the weight image is uncompressed.
- Create an option in the config file that says whether or not you are running simulations. If you are running simulations, then o the following
- Create a single blank image that is the size of 1 tile. All pixels should be itegers and be set to 0. Create a link from this dummy image for every tile with a name that replaces image.......fits to flag......fits
Now that you created the dummy flags, you need to set up the sextractor step of the pipeline. The config file currently looks for the flags created by the masking step that we skip with the name pipeline_flag.... . We need the pipeline to look for the regular flags that were created in the previous steps, so the config needs to be modified accordingly.
- Dominant language
- Python
- Stars
- 18
- Forks
- 14
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 18
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CosmoStat/shapepipe
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Maintainers usually reply within 1 day
All issues in CosmoStat/shapepipe
Similar issues
-
pydanty:is-working
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
pydantic/pydantic-ai#8843 ·
Maintainers usually reply within 1 day
-
breaking change enhancement server
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sktime/sktime#11310 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day