API for use with Eigen applications .
More...
|
| template<typename fv > |
| Eigen::VectorX< fv > | calcDrt (Eigen::VectorX< std::complex< fv > > &impedanceSpectra, Eigen::VectorX< fv > &omegaTensor, FitMetrics &fm, const FitParameters &fp, fv *rSeries=nullptr) |
| | Calculates the drt using Eigen datatypes.
|
| |
| template<typename fv > |
| Eigen::VectorX< std::complex< fv > > | calcImpedance (const Eigen::VectorX< fv > &drt, fv rSeries, const Eigen::VectorX< fv > &omegaVector) |
| | Calculates impedance from drt using Eigen datatypes.
|
| |
API for use with Eigen applications .
Calculates drts with Eigen datatypes.
◆ calcDrt()
template<typename fv >
| Eigen::VectorX< fv > calcDrt |
( |
Eigen::VectorX< std::complex< fv > > & | impedanceSpectra, |
|
|
Eigen::VectorX< fv > & | omegaTensor, |
|
|
FitMetrics & | fm, |
|
|
const FitParameters & | fp, |
|
|
fv * | rSeries = nullptr ) |
Calculates the drt using Eigen datatypes.
- Template Parameters
-
| fv | The precision to be used, either double or float. |
- Parameters
-
| impedanceSpectra | A vector with the complex impedances of your experiment. |
| omegaTensor | A vector with the omega values that the impedances where measured at. |
| fm | A fit metrics struct where this function returns information on the fit acquired. |
| fp | A struct with fit parameters. |
| rSeries | An optional parameter where the series resistance is stored. |
- Returns
- A vector with the drt values.
◆ calcImpedance()
template<typename fv >
| Eigen::VectorX< std::complex< fv > > calcImpedance |
( |
const Eigen::VectorX< fv > & | drt, |
|
|
fv | rSeries, |
|
|
const Eigen::VectorX< fv > & | omegaVector ) |
Calculates impedance from drt using Eigen datatypes.
- Template Parameters
-
| fv | The precision to be used, either double or float. |
- Parameters
-
| drt | The drt to calculate impedance from. |
| omegaVector | A vector with the omega values that the impedances where measured at. |
| rSeries | An optional parameter where the series resistance is stored. |
- Returns
- A vector with the drt values.