Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(utils): add functions to compute dataset statistics and save HTM… #17

Merged
merged 1 commit into from
Sep 15, 2024

Conversation

mirsazzathossain
Copy link
Owner

…L catalog

  • Implemented compute_mean_std to compute mean and standard deviation for datasets using PyTorch DataLoader.
  • Added dataframe_to_html function to save an astronomical catalog as an HTML file.
  • Added remove_artifacts function 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

…L catalog

- Implemented `compute_mean_std` to compute mean and standard deviation for datasets using PyTorch DataLoader.
- Added `dataframe_to_html` function to save an astronomical catalog as an HTML file.
- Added `remove_artifacts` function 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
Copy link

codecov bot commented Sep 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Flag Coverage Δ
unittests 100.0% <100.0%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
rgc/utils/data.py 100.0% <100.0%> (ø)

@mirsazzathossain mirsazzathossain merged commit b69e0ef into main Sep 15, 2024
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Function to Compute Mean and Standard Deviation for Dataset Save Astronomical Catalog as HTML File
1 participant