There is a maintenance of MPCDF Gitlab on Thursday, April 22st 2020, 9:00 am CEST - Expect some service interruptions during this time

Commit 47d8ebc6 authored by theos's avatar theos

Added hermitian_decomposition to LMSpace.

parent f21c8952
......@@ -110,6 +110,9 @@ class LMSpace(Space):
self._lmax = self._parse_lmax(lmax)
self._mmax = self._parse_mmax(mmax)
def hermitian_decomposition(self, x, axes=None):
return (x.real, x.imag)
def compute_k_array(self, distribution_strategy):
# return a d2o with the l-value at the individual pixels
# e.g. for 0<=l<=2: [0,1,2, 1,1,2,2, 2,2]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment