You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found this helped function in some of the curvelet branches:
/*!
* Computes the normalization factor for spin-lowered wavelets,
* which is sqrt((l+s)!/(l-s)!).
*
* \param[in] el Harmonic index el.
* \param[in] spin Spin number the wavelet was lowered from.
*/
static double s2let_spin_lowered_normalization(int el, int spin)
{
double factor = 1;
int s;
for (s = -ABS(spin)+1; s <= ABS(spin); ++s)
{
factor *= el+s;
}
if (spin > 0)
return sqrt(factor);
else
return sqrt(1.0/factor);
}
@jenniferyhchan Where was the curvelet implementation left? Did we ever merge into main? I seem to recall that we scratched the C implementation and just went for a Matlab implementation. Is that correct? Perhaps we should delete the old branches or merge to main if appropriate?
s2let_spin_lowered_normalization
is used in here https://github.com/astro-informatics/src_s2let/blob/master/src/main/matlab/s2let_curvelet_tiling.m but has no definitionThe text was updated successfully, but these errors were encountered: