Skip to content

Commit

Permalink
Vt parallise source detection (#523)
Browse files Browse the repository at this point in the history
* Added method for cutout creation

* Added method to split image into multiple images for parallel source detection.

* Implemented parallelisaion of pybdsf

* Updated init for image.

* Implemented cut2d by astropy and added mosaicking with astropy.

* Added mosaicking.

* BUmb version.

* Added tests, improved descriptions.

* Fixed flake8.

* Fixed some mypy

* Started fixing mypy.

* Fixed a lot of mypy stuff.

* Fixed all mypy errors!

* Fixed mypy.

* Improved print statement.

* FIxed all mypy errors.

* Updated source detection notebook with better parameters.

* Fixed failing tests.

* Rerun notebook.

* Fixed

* Removed not passed parameters to dask, removed print statements.

* PR change requests by lukas.

* Added missing PR change requests.

* Refactored source detection based on feedback.

* Fixed failing tests and added PR feedback.

* Added idx list instead of hardcoded somewhere in the code.

* Added feeback.

* Added last PR feedback.

* Fixed reproject

* Fixed.

* Added better feedback incase detect sources was not called.

* Fixed wrong import.

* Improved plots.

* Rerun notebook with correct plot

* introduced source-detection-abc-interface to ensure type-safety

* fixed isort

---------

Co-authored-by: Lukas113 <[email protected]>
Co-authored-by: lukas.gehrig <[email protected]>
  • Loading branch information
3 people authored Nov 23, 2023
1 parent f1e3cc2 commit abbed18
Show file tree
Hide file tree
Showing 14 changed files with 1,591 additions and 227 deletions.
2 changes: 1 addition & 1 deletion conda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ requirements:
- pandas
- psutil
- rascil=1.0.0
- reproject
- reproject>=0.9,<=10.0
- requests
- scipy=1.10.1
- ska-gridder-nifty-cuda=0.3.0
Expand Down
2 changes: 1 addition & 1 deletion environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dependencies:
- pandas
- psutil
- rascil=1.0.0
- reproject
- reproject>=0.9,<=10.0
- requests
- scipy=1.10.1
- ska-gridder-nifty-cuda=0.3.0
Expand Down
414 changes: 414 additions & 0 deletions karabo/examples/ImageMosaicker.ipynb

Large diffs are not rendered by default.

248 changes: 116 additions & 132 deletions karabo/examples/source_detection.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit abbed18

Please sign in to comment.