Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
7fc97c84
Commit
7fc97c84
authored
Mar 23, 2015
by
ultimanet
Browse files
regression keyword removed
parent
ef61b024
Changes
1
Hide whitespace changes
Inline
Side-by-side
lm/nifty_lm.py
View file @
7fc97c84
...
...
@@ -2007,7 +2007,7 @@ class hp_space(space):
if
(
self
.
discrete
):
x
=
self
.
calc_weight
(
x
,
power
=-
0.5
)
## transform
Tx
=
hp
.
map2alm
(
x
.
astype
(
np
.
float64
),
lmax
=
codomain
.
para
[
0
],
mmax
=
codomain
.
para
[
1
],
iter
=
kwargs
.
get
(
"iter"
,
self
.
niter
),
pol
=
True
,
use_weights
=
False
,
regression
=
False
,
datapath
=
None
)
Tx
=
hp
.
map2alm
(
x
.
astype
(
np
.
float64
),
lmax
=
codomain
.
para
[
0
],
mmax
=
codomain
.
para
[
1
],
iter
=
kwargs
.
get
(
"iter"
,
self
.
niter
),
pol
=
True
,
use_weights
=
False
,
datapath
=
None
)
else
:
raise
ValueError
(
about
.
_errors
.
cstring
(
"ERROR: unsupported transformation."
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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