Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NIFTy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ift
NIFTy
Commits
a91efaa5
Commit
a91efaa5
authored
6 years ago
by
Philipp Arras
Browse files
Options
Downloads
Patches
Plain Diff
Rename PoissonLogLikelihood -> PoissonianEnergy
parent
743626ab
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
nifty5/library/__init__.py
+2
-2
2 additions, 2 deletions
nifty5/library/__init__.py
nifty5/library/poissonian_energy.py
+2
-2
2 additions, 2 deletions
nifty5/library/poissonian_energy.py
with
4 additions
and
4 deletions
nifty5/library/__init__.py
+
2
−
2
View file @
a91efaa5
from
.amplitude_model
import
make_amplitude_model
from
.amplitude_model
import
make_amplitude_model
from
.apply_data
import
ApplyData
from
.apply_data
import
ApplyData
from
.gaussian_energy
import
GaussianEnergy
from
.los_response
import
LOSResponse
from
.los_response
import
LOSResponse
from
.nonlinear_wiener_filter_energy
import
NonlinearWienerFilterEnergy
from
.nonlinear_wiener_filter_energy
import
NonlinearWienerFilterEnergy
from
.gaussian_energy
import
GaussianEnergy
from
.point_sources
import
PointSources
from
.point_sources
import
PointSources
from
.poisson
_log_likelihood
import
Poisson
LogLikelihood
from
.poisson
ian_energy
import
Poisson
ianEnergy
from
.smooth_sky
import
make_smooth_mf_sky_model
,
make_smooth_sky_model
from
.smooth_sky
import
make_smooth_mf_sky_model
,
make_smooth_sky_model
from
.wiener_filter_curvature
import
WienerFilterCurvature
from
.wiener_filter_curvature
import
WienerFilterCurvature
from
.wiener_filter_energy
import
WienerFilterEnergy
from
.wiener_filter_energy
import
WienerFilterEnergy
This diff is collapsed.
Click to expand it.
nifty5/library/poisson
_log_likelihood
.py
→
nifty5/library/poisson
ian_energy
.py
+
2
−
2
View file @
a91efaa5
...
@@ -23,7 +23,7 @@ from ..operators.sandwich_operator import SandwichOperator
...
@@ -23,7 +23,7 @@ from ..operators.sandwich_operator import SandwichOperator
from
..sugar
import
log
,
makeOp
from
..sugar
import
log
,
makeOp
class
Poisson
LogLikelihood
(
Energy
):
class
Poisson
ianEnergy
(
Energy
):
def
__init__
(
self
,
lamb
,
d
):
def
__init__
(
self
,
lamb
,
d
):
"""
"""
lamb: Sky model object
lamb: Sky model object
...
@@ -31,7 +31,7 @@ class PoissonLogLikelihood(Energy):
...
@@ -31,7 +31,7 @@ class PoissonLogLikelihood(Energy):
value = 0.5 * s.vdot(s), i.e. a log-Gauss distribution with unit
value = 0.5 * s.vdot(s), i.e. a log-Gauss distribution with unit
covariance
covariance
"""
"""
super
(
Poisson
LogLikelihood
,
self
).
__init__
(
lamb
.
position
)
super
(
Poisson
ianEnergy
,
self
).
__init__
(
lamb
.
position
)
self
.
_lamb
=
lamb
self
.
_lamb
=
lamb
self
.
_d
=
d
self
.
_d
=
d
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment