Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Neel Shah
NIFTy
Commits
57660e7e
Commit
57660e7e
authored
Feb 03, 2015
by
Marco Selig
Browse files
submodule lm implemented.
parent
b864b70d
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
57660e7e
...
...
@@ -22,8 +22,6 @@ rg/*
lm/*
!lm/__init__.py
!lm/nifty_lm.py
!lm/nifty_gl.py
!lm/nifty_hp.py
!lm/nifty_power_conversion_lm.py
demos/*
...
...
lm/__init__.py
View file @
57660e7e
...
...
@@ -20,6 +20,25 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
division
#from nifty_rg import *
#from nifty_lm import *
try
:
import
libsharp_wrapper_gl
as
gl
except
(
ImportError
):
try
:
import
healpy
as
hp
except
(
ImportError
):
pass
## import nothing
else
:
from
nifty_lm
import
lm_space
,
hp_space
## import lm & hp
## TODO: change about
else
:
try
:
import
healpy
as
hp
except
(
ImportError
):
from
nifty_lm
import
lm_space
,
gl_space
## import lm & gl
else
:
from
nifty_lm
import
lm_space
,
gl_space
,
hp_space
## import all 3
from
nifty_power_conversion_lm
import
*
nifty_core.py
View file @
57660e7e
This diff is collapsed.
Click to expand it.
rg/nifty_rg.py
View file @
57660e7e
...
...
@@ -28,7 +28,7 @@
.. /__/ /__/ /__/ /__/ \___/ \___ / rg
.. /______/
This
submodule for regular Cartesian grids.
NIFTY
submodule for regular Cartesian grids.
"""
from
__future__
import
division
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment