Skip to content

allow to use SHT_REAL_NORM normalization#11

Open
nschaeff wants to merge 1 commit into
fgerick:masterfrom
nschaeff:master
Open

allow to use SHT_REAL_NORM normalization#11
nschaeff wants to merge 1 commit into
fgerick:masterfrom
nschaeff:master

Conversation

@nschaeff

Copy link
Copy Markdown

Expose in the julia interface the possibility to use "real normalization" :

cfg = SHTns.SHTnsCfg(13; norm = SHTns.Orthonormal(; real_norm=true))

@codecov

codecov Bot commented Jun 17, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 45.70%. Comparing base (ce0285e) to head (70a03c6).

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #11      +/-   ##
==========================================
+ Coverage   45.58%   45.70%   +0.12%     
==========================================
  Files           9        9              
  Lines         430      431       +1     
==========================================
+ Hits          196      197       +1     
  Misses        234      234              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@fgerick

fgerick commented Jun 17, 2025

Copy link
Copy Markdown
Owner

Can we add any tests to verify the normalizations are working as expected?

@nschaeff

Copy link
Copy Markdown
Author

Do you have some test example I could adapt?

@fgerick

fgerick commented Jun 19, 2025

Copy link
Copy Markdown
Owner

Here I test the norms, it should give the same spatial field for all norms:
https://github.com/fgerick/SHTns.jl/blob/ce0285edd477585f3b790fa3332c3b00ce9a0ab2/test/runtests.jl#L55C1-L91C4

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