across.tools.footprint.projection

Classes

CartesianVector

Class to represent a 3D cartesian vector

Functions

detector_to_cartesian_vectors(detector)

Method to convert spherical detector to a list of cartesian unit vectors

project_detector(detector, coordinate, roll_angle)

Method to project a polygon detector onto a sphere

Module Contents

class CartesianVector(/, **data)[source]

Bases: across.tools.core.schemas.BaseSchema

Class to represent a 3D cartesian vector

x: float[source]
y: float[source]
z: float[source]
rotate(coordinate, roll_angle)[source]

Method that performs matrix rotations on a cartesian vector

to_spherical_coordinate()[source]

Method to transform a cartesian vector to a spherical coordinate

detector_to_cartesian_vectors(detector)[source]

Method to convert spherical detector to a list of cartesian unit vectors

project_detector(detector, coordinate, roll_angle)[source]

Method to project a polygon detector onto a sphere