Citlali
Loading...
Searching...
No Matches
polarization.h
Go to the documentation of this file.
1# pragma once
2
3#pragma once
4
5#include <Eigen/Core>
6#include <string>
7
9
10namespace timestream {
11
13public:
14 // stokes parameters (either I or I, Q, and U)
15 std::map<int,std::string> stokes_params;
16
17 // loc or fg
18 std::string grouping;
19
20 template<TCDataKind td_kind, class calib_type>
21 void calc_angle(TCData<td_kind, Eigen::MatrixXd> &in, calib_type &calib) {
22
23 // number of data points
24 Eigen::Index n_pts = in.scans.data.rows();
25
26 // rotation angle at array center
27 in.angle.data = in.tel_data.data["ActParAng"].array() + in.tel_data.data["TelElAct"].array();// +
28 //in.pointing_offsets_arcsec.data["alt"].array()*ASEC_TO_RAD;
29
30 // set as chunk as demodulated
31 in.status.demodulated = true;
32 }
33};
34} // namespace timestream
Definition polarization.h:12
std::map< int, std::string > stokes_params
Definition polarization.h:15
std::string grouping
Definition polarization.h:18
void calc_angle(TCData< td_kind, Eigen::MatrixXd > &in, calib_type &calib)
Definition polarization.h:21
Definition clean.h:10
TC data class.
Definition timestream.h:55