Skip to content

WaveDiff: New PSF Model Features, Refactoring, Rotation Obscuration Mask, and PEP8 Compliance#142

Merged
jeipollack merged 449 commits intodevelopfrom
case_study_psf_decontamination
Aug 5, 2025
Merged

WaveDiff: New PSF Model Features, Refactoring, Rotation Obscuration Mask, and PEP8 Compliance#142
jeipollack merged 449 commits intodevelopfrom
case_study_psf_decontamination

Conversation

@jeipollack
Copy link
Copy Markdown
Contributor

@jeipollack jeipollack commented Feb 5, 2025

This PR includes new features:

tobias-liaudat and others added 30 commits April 5, 2024 10:25
…sf_model method and add iteration over metrics evaluation functions
@tobias-liaudat
Copy link
Copy Markdown
Member

The last commits include a general script to simulate datasets that contain all the currently supported scenarios and should integrate all the previously created datasets (Closes #160 )

tobias-liaudat and others added 17 commits April 25, 2025 11:22
The DataHandler compared `self.dataset_type` to "train", so the
conversion of `noisy_stars` to `tf.float32` was skipped for the
training split. This silent mismatch left the array in a different
dtype than the rest of the pipeline and, over multiple epochs,
caused the validation-loss divergence seen between the old and
refactored branches.

- Change comparison to `self.dataset_type == "training"`.
- Keep the explicit `elif self.dataset_type == "test"` for clarity.

With the correct split name, preprocessing is identical across
branches and metrics are now fully reproducible.
jeipollack and others added 2 commits July 22, 2025 13:23
…tances each training cycle

Fixes a bug where metric objects retained state across training cycles, leading to incorrect metric calculations and premature convergence. By creating fresh loss and metric instances per cycle, internal states are reset properly, ensuring consistent training behavior.
@jeipollack jeipollack marked this pull request as ready for review August 5, 2025 09:18
@jeipollack jeipollack changed the title Draft: WaveDiff: New PSF Model Features, Refactoring, Rotation Obscuration Mask, and PEP8 Compliance WaveDiff: New PSF Model Features, Refactoring, Rotation Obscuration Mask, and PEP8 Compliance Aug 5, 2025
@jeipollack jeipollack merged commit 7c4b515 into develop Aug 5, 2025
2 checks passed
@jeipollack jeipollack deleted the case_study_psf_decontamination branch August 5, 2025 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

Development

Successfully merging this pull request may close these issues.

3 participants