Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
XNMRFSpectrum Class Reference
Inheritance diagram for XNMRFSpectrum:
Inheritance graph
[legend]

Public Types

enum  TuneCycleStrategy {
  STRATEGY_ASIS = 0, STRATEGY_TUNE_AWAIT = 1, STRATEGY_AUTOTUNE = 2, STRATEGY_CYCLE_DBL = 3,
  STRATEGY_CYCLE_QUAD = 4, STRATEGY_CYCLE_OCT = 5
}
 

Public Member Functions

 XNMRFSpectrum (const char *name, bool runtime, Transaction &tr_meas, const shared_ptr< XMeasure > &meas)
 
virtual ~XNMRFSpectrum ()=default
 ususally nothing to do
 
const shared_ptr< XItemNode
< XDriverList, XSG > > & 
sg1 () const
 driver specific part below
 
const shared_ptr< XItemNode
< XDriverList, XAutoLCTuner > > & 
autoTuner () const
 
const shared_ptr< XItemNode
< XDriverList, XPulser > > & 
pulser () const
 
const shared_ptr< XDoubleNode > & sg1FreqOffset () const
 Offset for IF [MHz].
 
const shared_ptr< XDoubleNode > & centerFreq () const
 [MHz]
 
const shared_ptr< XDoubleNode > & freqSpan () const
 [kHz]
 
const shared_ptr< XDoubleNode > & freqStep () const
 [kHz]
 
const shared_ptr< XBoolNode > & active () const
 
const shared_ptr< XDoubleNode > & tuneCycleStep () const
 [MHz]
 
const shared_ptr< XComboNode > & tuneCycleStrategy () const
 
- Public Member Functions inherited from XNMRSpectrumBase< FrmNMRFSpectrum >
 XNMRSpectrumBase (const char *name, bool runtime, Transaction &tr_meas, const shared_ptr< XMeasure > &meas)
 
virtual ~XNMRSpectrumBase ()
 ususally nothing to do
 
virtual void showForms () override
 Shows all forms belonging to driver.
 
const shared_ptr< XItemNode
< XDriverList,
XNMRPulseAnalyzer > > & 
pulse () const
 
const shared_ptr< XDoubleNode > & bandWidth () const
 
const shared_ptr< XComboNode > & bwList () const
 Tune bandwidth to 50%/100%/200%.
 
const shared_ptr< XBoolNode > & autoPhase () const
 Deduce phase from data.
 
const shared_ptr< XDoubleNode > & phase () const
 (Deduced) phase of echoes [deg.]
 
const shared_ptr< XComboNode > & solverList () const
 Spectrum solvers.
 
const shared_ptr< XComboNode > & windowFunc () const
 ! FFT Window Function
 
const shared_ptr< XDoubleNode > & windowWidth () const
 Changing width of time-domain image [%].
 
const shared_ptr
< XTouchableNode > & 
clear () const
 Clears stored points.
 
- Public Member Functions inherited from XSecondaryDriverInterface< T >
 XSecondaryDriverInterface (const char *name, bool runtime, Transaction &tr_meas, const shared_ptr< XMeasure > &meas)
 

Protected Member Functions

virtual bool onCondChangedImpl (const Snapshot &shot, XValueNodeBase *) const override
 
virtual double getFreqResHint (const Snapshot &shot_this) const override
 [Hz]
 
virtual double getMinFreq (const Snapshot &shot_this) const override
 [Hz]
 
virtual double getMaxFreq (const Snapshot &shot_this) const override
 [Hz]
 
virtual double getCurrentCenterFreq (const Snapshot &shot_this, const Snapshot &shot_others) const override
 [Hz]
 
virtual void getValues (const Snapshot &shot_this, std::vector< double > &values) const override
 
virtual bool checkDependencyImpl (const Snapshot &shot_this, const Snapshot &shot_emitter, const Snapshot &shot_others, XDriver *emitter) const override
 
virtual void rearrangeInstrum (const Snapshot &shot) override
 
- Protected Member Functions inherited from XNMRSpectrumBase< FrmNMRFSpectrum >
virtual void analyze (Transaction &tr, const Snapshot &shot_emitter, const Snapshot &shot_others, XDriver *emitter) override throw (XRecordError&)
 This function is called when a connected driver emit a signal.
 
virtual void visualize (const Snapshot &shot) override
 
virtual bool checkDependency (const Snapshot &shot_this, const Snapshot &shot_emitter, const Snapshot &shot_others, XDriver *emitter) const override
 
void onClear (const Snapshot &shot, XTouchableNode *)
 
- Protected Member Functions inherited from XSecondaryDriverInterface< T >
void connect (const shared_ptr< XPointerItemNode< XDriverList > > &selecter)
 Call this to receive signal/data.
 
void requestAnalysis ()
 
virtual void start ()
 usually nothing to do
 
virtual void stop ()
 usually nothing to do
 

Private Member Functions

void onActiveChanged (const Snapshot &shot, XValueNodeBase *)
 
void onTuningChanged (const Snapshot &shot, XValueNodeBase *)
 receives signals from AutoLCTuner.
 
void performTuning (const Snapshot &shot_this, double newf)
 

Private Attributes

const shared_ptr< XItemNode
< XDriverList, XSG > > 
m_sg1
 
const shared_ptr< XItemNode
< XDriverList, XAutoLCTuner > > 
m_autoTuner
 
const shared_ptr< XItemNode
< XDriverList, XPulser > > 
m_pulser
 
const shared_ptr< XDoubleNodem_sg1FreqOffset
 
const shared_ptr< XDoubleNodem_centerFreq
 
const shared_ptr< XDoubleNodem_freqSpan
 
const shared_ptr< XDoubleNodem_freqStep
 
const shared_ptr< XBoolNodem_active
 
const shared_ptr< XDoubleNodem_tuneCycleStep
 
const shared_ptr< XComboNodem_tuneCycleStrategy
 
shared_ptr< XListenerm_lsnOnActiveChanged
 
shared_ptr< XListenerm_lsnOnTuningChanged
 
std::deque< xqcon_ptrm_conUIs
 
double m_lastFreqAcquired
 to avoid inifite averaging after a sweep.
 
double m_tunedFreq
 
int m_lastCycle
 0-7
 

Additional Inherited Members

- Protected Attributes inherited from XNMRSpectrumBase< FrmNMRFSpectrum >
shared_ptr< XListenerm_lsnOnClear
 
shared_ptr< XListenerm_lsnOnCondChanged
 
const qshared_ptr
< FrmNMRFSpectrum
m_form
 
const shared_ptr< XStatusPrinterm_statusPrinter
 
const shared_ptr< XWaveNGraphm_spectrum
 

Detailed Description

Definition at line 26 of file nmrfspectrum.h.

Member Function Documentation

bool XNMRFSpectrum::onCondChangedImpl ( const Snapshot shot,
XValueNodeBase  
) const
overrideprotectedvirtual
Returns
true to be cleared.

Implements XNMRSpectrumBase< FrmNMRFSpectrum >.

Definition at line 130 of file nmrfspectrum.cpp.


The documentation for this class was generated from the following files:

Generated for KAME4 by  doxygen 1.8.3