Skip to content

Commit

Permalink
adjust pointing offset interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
mmccrackan committed Mar 1, 2023
1 parent 3e14415 commit 2d43c50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/citlali/core/engine/todproc.h
Original file line number Diff line number Diff line change
Expand Up @@ -717,12 +717,12 @@ void TimeOrderedDataProc<EngineType>::interp_pointing() {

// size of telescope data
Eigen::Matrix<Eigen::Index,1,1> nd;
nd << n_offsets;;
nd << n_offsets;

Eigen::VectorXd yi(ni);

Eigen::VectorXd xd(n_offsets);
xd << engine().telescope.tel_data["TelTime"](0), ni-1;
xd << engine().telescope.tel_data["TelTime"](0), engine().telescope.tel_data["TelTime"](ni-1);

// interpolate az offset onto time vector
mlinterp::interp(nd.data(), ni, // nd, ni
Expand Down

0 comments on commit 2d43c50

Please sign in to comment.