# nifty7.library.light_cone_operator module#

class LightConeOperator(domain, target, sigx)[source]#

Bases: Operator

Constructs a Light cone from a set of lightspeed parameters.

The resulting cone is defined as follows

with

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.

apply(x)[source]#

Applies the operator to a Field or MultiField.

Parameters:

x (Field or MultiField) – Input on which the operator shall act. Needs to be defined on domain.