- chore: update .gitignore and uv.lock for new dependencies and versioning (
f84281e)
- feat(models): add DSteerableLeNet model and update imports
chore: add new dependencies for image processing and data handling (
97500b4)
- Update README.md (
9f56047)
- chore(release): update version to 0.9.0 (
2363c6d)
- feat(utils): add functions to detect sources and generate mask
This commit adds new functions to the rgc.utils.data module. The generate_mask function is added to detect sources in an image and generate a mask. The generate_mask_bulk function is added to generate masks for a catalog of celestial objects. These functions are useful for image processing and analysis tasks.
The generate_mask function takes various parameters such as the image path, mask directory, frequency, beam size, dilation factor, and threshold values for pixel and island detection. It uses the bdsf library to process the image and export the generated mask.
The generate_mask_bulk function takes a pandas DataFrame containing the catalog of celestial objects, the image directory, mask directory, frequency, and beam size. It iterates over the catalog entries and calls the generate_mask function for each entry to generate masks for all the images in the catalog.
These new functions enhance the functionality of the rgc package and provide convenient tools for working with astronomical images. (a832e62)
- chore(release): update version to 0.8.0 (
258e559)
- feat(utils): add functions to compute dataset statistics and save HTML catalog
- Implemented
compute_mean_stdto compute mean and standard deviation for datasets using PyTorch DataLoader. - Added
dataframe_to_htmlfunction to save an astronomical catalog as an HTML file. - Added
remove_artifactsfunction to remove files based on their extensions from a specified folder. - Included unit tests for all three functions to validate their functionality and error handling.
Closes #7, Closes #3 (168dc31)
- Merge pull request #17 from mirsazzathossain/dev
feat(utils): add functions to compute dataset statistics and save HTM… (b69e0ef)
- chore(release): update version to 0.7.0 (
c8ac95b)
- feat(utils): add bulk image download from catalog
- Implemented
celestial_capture_bulkfunction to automate the retrieval of images for all objects in a given catalog using coordinates. - Integrated NASA SkyView Virtual Observatory for querying and downloading FITS images.
- Added support for handling different types of catalogs with class labels.
- Implemented error handling for invalid coordinates and failed downloads.
- Configurable survey and image directory path.
- Added unit tests for the bulk download functionality using mock objects. (
e4522c3)
- refactor: Update test_celestial_capture_bulk.py for improved readability and maintainability (
cb436ba)
- Merge pull request #16 from mirsazzathossain/dev
feat(utils): add bulk image download from catalog (b022bea)
- chore(release): update version to 0.6.0 (
ab48994)
- feat: Add Masking Functionality for Single and Batch Image Processing
- Implemented mask_image function to apply a mask to a single image.
- Added mask_image_bulk function to apply masks to all images in a directory.
- Included unit tests for both functions to verify correct functionality.
- Updated documentation for the new functions and exceptions. (
f3c1c28)
-
refactor: update test_mask_image_bulk.py for improved readability and maintainability (
76cc569) -
refactor: update mask_image_bulk function for improved error handling and dimension checking (
5fbda73) -
refactor: Refactor test_mask_image_bulk.py for improved readability and maintainability (
3772f59)
- Merge pull request #15 from mirsazzathossain/dev
feat: Add Masking Functionality for Single and Batch Image Processing (3cdff2d)
-
chore(release): update version to 0.5.0 (
cc1b107) -
chore(ci): update Python versions in CI workflow (
c58aef9)
- feat(utils): add functionality to convert FITS images to PNG
- Implemented
fits_to_pngfunction to convert a single FITS image to PNG. - Implemented
fits_to_png_bulkfunction to convert all FITS images in a directory to PNG. - Handled normalization of pixel values between 0 and 255.
- Added
_FileNotFoundErrorfor handling missing FITS files. - Included unittests for both
fits_to_pngandfits_to_png_bulk. - Mocked external dependencies such as file reading and saving in tests. (
f01229b)
- refactor: update test_fits_to_png_bulk.py to add test for None image (
66714f2)
- Merge pull request #13 from mirsazzathossain/dev
feat(utils): add functionality to convert FITS images to PNG (c49aa05)
-
chore(release): update version to 0.4.0 (
cbeac5b) -
chore: Update build status badge URL in README.md and docs/index.md (
ce88c2e)
- feat: Add celestial_tag function for generating names from catalog entries
- Modify the celestial_tag function to accept a pandas Series entry instead of a DataFrame entry.
- Update the function to generate a name tag for a celestial object based on its coordinates.
- Refactor the function to handle different coordinate formats and handle missing coordinates.
- Add unit tests for the celestial_tag function to ensure its correctness.
Fixes #123 (d4b7dcd)
- feat: Add celestial_tag function for generating names from catalog entries
- Implemented
celestial_tagfunction to generate names for astronomical objects based on catalog data (Issue #4). - Handles different catalog formats including RA/Dec coordinates and filenames.
- Added custom exception
_NoValidCelestialCoordinatesErrorfor handling missing or invalid coordinates. (3131518)
- Merge pull request #12 from mirsazzathossain/dev
feat: Add celestial_tag function for generating names from catalog entries (3aadc94)
- build: vpdate python version (
228576b)
-
chore(release): update version to 0.3.0 (
276517a) -
chore: Update pandas-stubs dependency to version 3.14.0 (
4f71c30) -
chore: Update pandas dependency to version 2.0.3 (
cf2c81e) -
chore: Update pandas dependency to pandas-stubs 2.0.2.230605 (
8534477) -
chore: remove mypy configuration file and update pyproject.toml (
a11bfaf)
-
ci: Update python-version options in ci.yml (
838f27c) -
ci: update default Python version to 3.11 in setup-python-env action.yml (
4ee87b6)
- feat: Add celestial_capture function for downloading images from SkyView
- Implemented
celestial_capturefunction to retrieve and save celestial images from the NASA SkyView Virtual Observatory using given sky coordinates. - Supports various image surveys and includes error handling for invalid coordinates.
- Saves FITS images with cleaned header comments and ensures directory creation.
Closes #2 (39bccaa)
- refactor: update data.py to use type hinting for catalog_quest return value (
77ea8c4)
-
test: Add unit test for celestial_capture function (
c04cf53) -
test: Add mypy configuration file (
c76f67f)
- Merge pull request #10 from mirsazzathossain/dev
feat: Add celestial_capture function for downloading images from SkyView (1496ccf)
- chore(release): update version to 0.2.0 (
1573da9)
- docs: update license in CHANGELOG.md (
ebb7f39)
- feat: implement catalog fetching from Vizier
- Add
fetch_catalogfunction to retrieve catalogs from Vizier service. - Implement
_UnsupportedServiceErrorexception class for unsupported services. - Add tests for successful retrieval from Vizier and error handling for unsupported services.
Closes #1 (19dbdad)
- refactor: refactor
fetch_catalogfunction tocatalog_quest(b752bc2)
- Merge pull request #8 from mirsazzathossain/dev
feat: implement catalog fetching from Vizier #1 (1b0f41e)
- chore(release): update version to 0.1.0 (
2fd7066)
- docs: update license (
6f67257)
- feat: Add bug report and feature request issue templates (
81dfb9b)
-
refactor: remove unused foo.py and test_foo.py files (
0267301) -
refactor: update build status badge URL in README.md (
d3cfb5d) -
refactor: refactor build process in cd.yml workflow (
7525ac5)
-
chore(release): update version to 0.0.0 (
3859775) -
chore: update pre-commit instructions in CONTRIBUTING.md
- Added instructions to run pre-commit checks manually
- Updated mkdocs.yml to fix indentation
- Removed unnecessary lines from LICENSE file
- Updated devcontainer.json to remove empty features object
- Added classifiers in pyproject.toml
- Added dev dependencies in pyproject.toml
- Updated semantic-release configuration in pyproject.toml (
c739435)
- Init commit (
9f8a983)