mirror of
https://github.com/DifferentiableUniverseInitiative/JaxPM.git
synced 2025-06-29 16:41:11 +00:00
update compensate CIC
This commit is contained in:
parent
cf799b6520
commit
0bb992fc56
2 changed files with 5 additions and 6 deletions
|
@ -126,7 +126,7 @@ def cic_compensation(kvec):
|
|||
wts: array
|
||||
Complex kernel values
|
||||
"""
|
||||
kwts = [np.sinc(kvec[i] / (2 * np.pi)) for i in range(3)]
|
||||
kwts = [jnp.sinc(kvec[i] / (2 * np.pi)) for i in range(3)]
|
||||
wts = (kwts[0] * kwts[1] * kwts[2])**(-2)
|
||||
return wts
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue