Polarization
jimgw.core.single_event.polarization
¤
KNOWN_POLS = 'pcxybl'
module-attribute
¤
Polarization
¤
Bases: Module
Object defining a given polarization mode, with utilities to produce corresponding tensor in an Earth centric frame.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
str
|
One of 'p' (plus), 'c' (cross), 'x' (vector x), 'y' (vector y), 'b' (breathing), or 'l' (longitudinal). |
required |
name: str = name.lower()
instance-attribute
¤
__init__(name: str)
¤
tensor_from_basis(x: Float[Array, 3], y: Float[Array, 3]) -> Float[Array, '3 3']
¤
Constructor to obtain polarization tensor from waveframe basis defined by orthonormal vectors (x, y) in arbitrary Cartesian coordinates.
tensor_from_sky(ra: Float, dec: Float, psi: Float, gmst: Float) -> Float[Array, '3 3']
¤
Computes {name} polarization tensor in celestial coordinates from sky location and orientation parameters.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
ra
|
Float
|
Right ascension in radians. |
required |
dec
|
Float
|
Declination in radians. |
required |
psi
|
Float
|
Polarization angle in radians. |
required |
gmst
|
Float
|
Greenwich mean standard time (GMST) in radians. |
required |
Returns:
| Type | Description |
|---|---|
Float[Array, '3 3']
|
Float[Array, "3 3"]: 3x3 polarization tensor. |