Skip to content
Snippets Groups Projects
Commit 410cbfb4 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

PolFilter + swig switch

parent 93b03906
No related branches found
No related tags found
1 merge request!844correct some SWIG switches
......@@ -12,18 +12,17 @@
//
// ************************************************************************************************
#ifdef SWIG
#error no need to expose this header to Swig
#endif
#ifndef USER_API
#ifndef BORNAGAIN_DEVICE_POL_POLFILTER_H
#define BORNAGAIN_DEVICE_POL_POLFILTER_H
#include "Base/Vector/EigenCore.h"
#include "Param/Node/INode.h"
#include <heinz/Vectors3D.h>
#ifndef SWIG
#include "Base/Vector/EigenCore.h"
#endif
//! Detector properties (efficiency, transmission).
//! @ingroup detector
......@@ -44,8 +43,10 @@ public:
//! Sets the polarization analyzer characteristics of the detector
void setDirEffTra(R3 direction, double efficiency, double total_transmission);
#ifndef SWIG
//! Return the polarization density matrix (in spin basis along z-axis)
Eigen::Matrix2cd matrix() const;
#endif
//! Retrieve the analyzer characteristics
R3 polDirection() const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment