Skip to content

New ImSim, CookieCutter, and OBA Modules#101

Open
sweverett wants to merge 219 commits intomasterfrom
grid-test
Open

New ImSim, CookieCutter, and OBA Modules#101
sweverett wants to merge 219 commits intomasterfrom
grid-test

Conversation

@sweverett
Copy link
Collaborator

@sweverett sweverett commented Nov 14, 2022

This PR adds a number of new modules used for both shear calibration validation and, in particular, the SuperBIT onboard analysis (OBA).

The new image generation module imsim will eventually fully replace our current galsim module (but is not quite there yet). It has a hierarchical config file instead of a flat one, and does various things that makes it much simpler to run simpler validation tests & full runs using the same code & framework. It will be upgraded iteratively until it reaches the full realism & complexity of the OBA sims.

The oba module consists of a largely independent, mini-pipeline set of modules that is intended to be run on the SuperBIT onboard sci camera computer QCC. In addition, in oba/sims I've included the code we used to make very realistic image simulations of expected SuperBIT observations to test the OBA on. The interface for these isn't as general as our other options as it prioritized realism & development speed, but we will want to merge the capabilities of both in imsim down the road.

The CookieCutter module is a new "compression" capability for FITS images that takes cutouts of raw images placed at sources detected on fully calibrated images, along with useful meta-data for reconstructing the raw images where we have the data (to eventually be passed to something like MEDS for photometry).

While prepping for the OBA, I also created new coadd and detection modules that can be used independently of the OBA.

…file, using a pickled PSF object from the imsim step
…s no longer save PSF as a convolution if one component is a delta function
…bug. PSF size bias down to 0.4% on pipe test, now looking for full cluster run
…ass the needed configs explicitly if desired
sweverett and others added 24 commits March 13, 2023 00:30
* first draft of image reconstruction code

* credit

* removed old `ipdb`

* removed old `ipdb`

* Increased `CookieCutter` speed by a factor of ~25

* BUGFIX: `xcen` & `ycen` now properly stored as floats; closes #128

* New `wcs_type` option

---------

Co-authored-by: emhuff <emhuff@gmail.com>
@sweverett sweverett changed the title New ImSim module to facilitate simple validation tests New ImSim, CookieCutter, and OBA Modules Mar 21, 2023
@mcclearyj mcclearyj closed this Apr 27, 2023
@mcclearyj mcclearyj deleted the grid-test branch April 27, 2023 15:53
@sweverett sweverett restored the grid-test branch April 27, 2023 18:00
@mcclearyj mcclearyj reopened this Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants