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

FIX: Resolved characteristic wavelength overestimation via re-scaling #64

Merged
merged 3 commits into from
Sep 10, 2024

Conversation

mptino
Copy link
Collaborator

@mptino mptino commented Aug 30, 2024

  • Fixed issue where characteristic wavelength is overestimated due to small image size via modifications to shapelets/self_assembly/misc/read_image
  • Updated unit tests after correction of overestimation
  • Also forced non-rescaling of sample image for orientation method unit test since larger images = longer runtimes

@mptino mptino force-pushed the readimage branch 2 times, most recently from 3109e15 to 9d387d2 Compare August 30, 2024 02:54
* Observed that large characteristic wavelengths are computed if image size is small which leads to poor shapelet kernel size and thus poor analysis
* To combat this, enforced minimum (and adjusted maximum) image dimensions after loading image from src to yield proper wavelength values
* Other minor changes include example 1, where ref. region coordinates have changed with new scaling enforcement
@mptino mptino force-pushed the readimage branch 2 times, most recently from 73e1b8e to 7779133 Compare September 4, 2024 22:13
@mptino mptino force-pushed the readimage branch 2 times, most recently from b6d3b02 to 029a267 Compare September 6, 2024 05:02
@mptino
Copy link
Collaborator Author

mptino commented Sep 9, 2024

@nasserma Please squash and merge since these commits are heavily related.

@nasserma nasserma merged commit 7540cb7 into uw-comphys:main Sep 10, 2024
@mptino mptino deleted the readimage branch September 10, 2024 21:57
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.

2 participants