Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NIFTy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
List
Boards
Labels
Service Desk
Milestones
Merge Requests
14
Merge Requests
14
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ift
NIFTy
Commits
d89d9c5d
Commit
d89d9c5d
authored
Jan 28, 2019
by
Philipp Frank
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docstrings lightcone
parent
1a9b8429
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
5 deletions
+32
-5
nifty5/library/dynamic_operator.py
nifty5/library/dynamic_operator.py
+1
-1
nifty5/library/light_cone_operator.py
nifty5/library/light_cone_operator.py
+31
-4
No files found.
nifty5/library/dynamic_operator.py
View file @
d89d9c5d
...
...
@@ -217,7 +217,7 @@ def dynamic_lightcone_operator(*,
quant
,
causal
=
True
,
minimum_phase
=
False
):
'''Extends the functionality of :func
tion: dynamic_operator
to a Green's
'''Extends the functionality of :func
:`dynamic_operator`
to a Green's
function which is constrained to be within a light cone.
The resulting Green's function is constrained to be within a light cone.
...
...
nifty5/library/light_cone_operator.py
View file @
d89d9c5d
...
...
@@ -96,12 +96,39 @@ def _cone_arrays(c, domain, sigx, want_gradient):
class
LightConeOperator
(
Operator
):
'''
FIXME
'''Constructs a Light cone from a set of lightspeed parameters.
The resulting cone is defined as follows
.. math::
\\
exp
\\
left(-
\\
frac{1}{2}
\\
Re
\\
left(
\\
Delta
\\
right)^2
\\
right)
with
.. math::
\\
Delta =
\\
sqrt{-
\\
left(t^2 -
\\
frac{x^
\\
dagger C^{-1} x}
{
\\
sigma_x^2}
\\
right)}
where t and x are the coordinates of the target space. Note that axis zero
of the space is interpreted as the time axis. C denotes the input
paramters of the operator and parametrizes the shape of the cone.
sigx is the width of the asymptotic Gaussian in x necessary for
discretization.
Parameters
----------
domain : Domain, tuple of Domain or DomainTuple
The domain of the input parameters of the light cone, the values of the
lightspeed tensor.
target : Domain, tuple of Domain or DomainTuple
Output space on which the lightcone should be defined. The zeroth axis
of this space is interpreted as the time axis.
sigx : float
Width of the Gaussian for the discretized representation of the cone.
'''
def
__init__
(
self
,
domain
,
target
,
sigx
):
self
.
_domain
=
domain
self
.
_target
=
target
self
.
_domain
=
DomainTuple
.
make
(
domain
)
self
.
_target
=
DomainTuple
.
make
(
target
)
self
.
_sigx
=
sigx
def
apply
(
self
,
x
):
...
...
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