@@ -281,7 +281,7 @@ which describes a rotation of \SI{45}{\degree} around the $Z$ axis, followed by

All supported rotations are extrinsic active rotations, i.e. the vector itself is rotated, not the coordinate system. All angles in configuration files should be specified in the order they will be applied.

\end{warning}

\item The \parameter{coordinates} parameter represents the local coordinate of detectors. The default parameter is \textbf{cartesian}, which means a detector with \textbf{coordinate}will be created as default.

\item The \parameter{coordinates} parameter represents the local coordinate of detectors, the coordinates can be \textbf{cartesian}, \textbf{polar}, etc. The default \parameter{coordinates}is \textbf{cartesian}.

\item The \parameter{number_of_pixels} parameter represents a two-dimensional vector with the number of pixels in the active matrix in the column and row directions respectively.

\item The \parameter{pixel_pitch} is a two-dimensional vector defining the size of a single pixel in the column and row directions respectively.

@@ -238,6 +238,4 @@ The global coordinate system is chosen as a right-handed Cartesian system, and t

Here, the beam direction defines the positive z-axis at the origin of the x-y-plane.

The origin along the z-axis is fixed by the placement of the detectors in the geometry of the setup.

Local coordinate systems for the detectors are also right-handed Cartesian systems, with the x- and y-axes defining the sensor plane.

The origin of this coordinate system is the center of the lower left pixel in the grid, i.e.\ the pixel with indices (0,0).

This simplifies calculations in the local coordinate system as all positions can either be stated in absolute numbers or in fractions of the pixel pitch.

There are several kinds of detectors with different local coordinate system, e.g., Cartesian coordinate for Pixel detector and Polar coordinate for some specific Strip detectors. From this point, the \textbf{Detector} class is designed as interface, the detector with specific coordinate will be generated according to the parameter in the detector configuration file. Currently, the Cartesian coordinate is the only available one, the Polar coordinate will be introduced recently. For the local Cartesian coordinate system, it is right-handed with the x- and y-axes defining the sensor plane. The origin of this coordinate system is the center of the lower left pixel in the grid, i.e.\ the pixel with indices (0,0). This simplifies calculations in the local coordinate system as all positions can either be stated in absolute numbers or in fractions of the pixel pitch.