-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor draw blends * refactor measure * atomic metrics * start new metrics classes * survey refactor * delete unnecessary utils * matching functions * posted matching ufnction that does nothing * more progress on metrics and added iou draft * better name * small correction * slight linting * update pdm * measure is now deblend * measure is now deblend * propagate naming consistency * quickstart notebook * comments from axel * small fix to __repr__ functions * one more name change * matching refactored * clean up * ClosestSkyNeighbourMatching added * minor matching bug fixed * matching and rearanging for deblended batch added * linting * add good names for pylint * lint * more good names * ignore this error * disable some pylint errors * linting * more linting * more linting * better to be explicit with catalog_list * match returns new class * first idea for turning BlendBatch into list structure * refactor black * idea: implement multi-resolution batch separate from BlendBatch * new file storing blend dataclasses * refactor * add deblend batches * remove survey name * small correction after update * mr deblender draft * several corrections and validation * punctuation * add easy access to psf and reogranize methods * add dependencies * delete lock for now * slowing finalizing metrics * first draft of scarlet deblender * small comments * reformat add scarlet * add additional file specifying venv to ignore * whitespace * added scarlet * typing change * switch to poetry * finish poetry * remove unnecessary bandpass * no more pandas or seaborn * no more bandpass * disable error * measure start * black * move to measure * draft missing metrics * changed name for symmetry * saving and loading are now class methods * blend_list to catalog_list, better name and normalize * two more ok names * finish measure * organizing metrics utils * fix imports * poetry update * functions for metrics * segmentatino metric implemented, use nan to keep track of empty ones * metrics in folder now * new init * init for metrics * metric recon draft * most measure functions draft implemented * base metric * typos * cleanup Table, matching is now implemented in MatchInfo * small fixes in class * fix Table * new matching functionalty and class and class to store matching information and do matching * type hinting * use correct truth value * finish detection metrics * fix augment data bug * don't need that * update init * minor fixes to saveing and loading * minor fixes to deblenders * saving and loading for deblended batch fixed * started testing functionality * update precommit * add larger catalog with 200k galaxies * use njobs not cpus * correct name convention * call does things in batches (default everywhere) * split lines for clarity * move to notebooks * quickstart continue with Deblender and new format * rgb images in linear * improve names * simplify * new name * add customizable mag cuts * use detected and matched arrays to compute metrics * option to disable progress bar * fix snr * small bug in match stats * add metrics and measurement * new catalog working * update with new catalog * correction when matching arrays * correction in reconstruction (need to update) * numpy array has no .sqrt member * quickstart notebook for tutorial today * test matching * new name * type hints and other fixes for clarity: no more 'ref_mag' * blend generator new name and no more shifts + type hints * clarify private methods and add type hints * type hints and docstrings, more clarity in arguments and mag cut name * poetry update * type hints, docstrings, private functions, remove shifts/indices, extra_data, clarity in inputs * type hinting * type hinting * a few type hints * use true survey rather than just name * directly use survey in BlendBatch in case it's modified * delete old notebooks for now * delete temporary notebooks * update notebook README * better docstring for add pixel columns * fix preprocess catalog * add more good names * add pair sampling and better function for out of bounds * precommit no pdm * use poetry in testing in ci * add docstring to metrics * allow kwargs in deblenders, better sep documentation, fixing Scarlet class based on Prakruth's suggestion * added n_bands and improved error messages, some optional parameters in dataclass * add max_n_sources to deblenders to standarized in case more sources than blend_batch are returned (can happen) * fix repr * spacing * catch rare exceptions and fix errors in Scarlet * handle empty catalogs * fix quickstart to use multiple band in DeblendExample * scarlet tutorial wth better ellipticity estimates * add extra data to Deblend Batch and Example classes; add scarlet sources extra data in Scarlet Deblender. * no more pre-commit * update poetry * didn't need this * update license * don't need requirements * fix workflows except docs * skip init files when isorting * nice init * new line * chagne default seed location to avoid cyclic import * ok for each blend * pylint errors to fix later * fix typing * fix conftest * accomodate one input returning one input when matching (not a tuple with 1 element) * minimal set of tests with new codebase implemented * prefer pylintrc (cleaner and can add coments) * small fixes * one more small notebook fix * fix docstrings * add back minimal pre-commit * add back precomimt * update maintainer to poetry * add scarlet install to lint * not a notebook * minimal new README * add pybind11 * new diagram * one more try * peigen * add scarlet to pytest too * update versions * update versions * update packages * remove filter warnings * update docs with new packages --------- Co-authored-by: Andrii Torchylo <[email protected]> Co-authored-by: Prakruth Adari <[email protected]>
- Loading branch information
1 parent
ebc7365
commit d53e83d
Showing
83 changed files
with
38,664 additions
and
12,092 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
[TYPECHECK] | ||
|
||
|
||
disable= | ||
# Not sure how to fix this for Metrics specifically | ||
arguments-differ, | ||
|
||
# we have too a lot of short variable names | ||
invalid-name, | ||
|
||
# doesn't seem helpful | ||
too-few-public-methods, | ||
|
||
# not sure it's advisable to "fix" these | ||
too-many-arguments, | ||
too-many-locals, | ||
too-many-instance-attributes, | ||
|
||
# when overriding methods you don't get to pick your arguments | ||
unused-argument, | ||
|
||
# sep raises this | ||
c-extension-no-member, | ||
|
||
|
||
[SIMILARITIES] | ||
|
||
# Minimum lines number of a similarity to report duplicate-code | ||
min-similarity-lines=11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.