-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new 4π sphere (geodesy) normalization
Defined such that the integrating square of this normalization times the complex exponential in azimuth equals the surface area of the unit sphere. This complements the spherical normalization `LegendreSphereNorm` which instead integrates over the sphere to unity. Also adds an intermediate `AbstractLegendreSphereNorm <: AbstractLegendreNorm` in the abstract type hierarchy to consolidate the coefficients for all three of `LegendreFourPiNorm`, `LegendreOrthoNorm`, and `LegendreSphereNorm`. The original motivation was to see if replacing the initial condition of 1 / sqrt(4π) which must necessarily be rounded (because π is trancendental) with an exactly-representable value (1.0 for the 4π normalization) could lead to better numerical precision. Namely, I thought that something like summing over many terms could show the accumulated bias, but I haven't actually found that to be true in practice. Nonetheless, having another option for a built-in normalizations is still useful.
- Loading branch information
Showing
9 changed files
with
66 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name = "Legendre" | ||
uuid = "7642852e-7f09-11e9-134e-0940411082b6" | ||
authors = ["Justin Willmert <[email protected]>"] | ||
version = "0.2.2" | ||
version = "0.2.3" | ||
|
||
[compat] | ||
julia = "1.2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters