Class MHO_InterpolateSpectralLinePeak.
More...
#include <MHO_InterpolateSpectralLinePeak.hh>
Class MHO_InterpolateSpectralLinePeak.
Fine interpolation around the coarse fringe peak for spectral-line data.
- Author
- J. Barrett - barre.nosp@m.ttj@.nosp@m.mit.e.nosp@m.du
- Date
Operates on the (channel x delay-rate x freq) amplitude surface produced by MHO_SpectralLineFringeSearch. Applies independent parabolic interpolation in the delay-rate and intra-channel frequency dimensions to locate the sub-bin amplitude maximum, then extracts the fringe phase and computes the phase delay.
Outputs:
- delay rate (sec/sec)
- fringe rate (Hz) = delay_rate x ref_freq
- fringe amplitude (normalised by total_summed_weights)
- fringe phase (radians) at the peak
- phase delay (seconds) = fringe_phase / (2pi x nu_peak_Hz)
- peak sky frequency (MHz) - the CHANNEL_AXIS value for the peak channel
◆ MHO_InterpolateSpectralLinePeak()
| hops::MHO_InterpolateSpectralLinePeak::MHO_InterpolateSpectralLinePeak |
( |
| ) |
|
◆ ~MHO_InterpolateSpectralLinePeak()
| virtual hops::MHO_InterpolateSpectralLinePeak::~MHO_InterpolateSpectralLinePeak |
( |
| ) |
|
|
inlinevirtual |
◆ Execute()
| bool hops::MHO_InterpolateSpectralLinePeak::Execute |
( |
| ) |
|
|
overridevirtual |
Function Execute.
- Returns
- Return value (bool)
- Note
- This is a virtual function.
Implements hops::MHO_Operator.
◆ GetDelayRate()
| double hops::MHO_InterpolateSpectralLinePeak::GetDelayRate |
( |
| ) |
const |
|
inline |
Fine-interpolated delay rate (sec/sec).
◆ GetFringeAmplitude()
| double hops::MHO_InterpolateSpectralLinePeak::GetFringeAmplitude |
( |
| ) |
const |
|
inline |
Fringe amplitude normalised by total_summed_weights.
◆ GetFringePhase()
| double hops::MHO_InterpolateSpectralLinePeak::GetFringePhase |
( |
| ) |
const |
|
inline |
Fringe phase at the peak (radians).
◆ GetFringeRate()
| double hops::MHO_InterpolateSpectralLinePeak::GetFringeRate |
( |
| ) |
const |
|
inline |
Fine-interpolated fringe rate (Hz) = delay_rate x ref_freq.
◆ GetPeakSkyFrequencyMHz()
| double hops::MHO_InterpolateSpectralLinePeak::GetPeakSkyFrequencyMHz |
( |
| ) |
const |
|
inline |
Sky frequency of the peak channel (MHz), refined by intra-channel interpolation.
◆ GetPhaseDelay()
| double hops::MHO_InterpolateSpectralLinePeak::GetPhaseDelay |
( |
| ) |
const |
|
inline |
Phase delay at the spectral-line frequency (seconds). tau_phase = fringe_phase / (2pi x nu_peak_Hz). NOTE: this is the phase delay, NOT the group delay (which is undefined for a spectrally narrow source).
◆ Initialize()
| bool hops::MHO_InterpolateSpectralLinePeak::Initialize |
( |
| ) |
|
|
overridevirtual |
Function Initialize.
- Returns
- Return value (bool)
- Note
- This is a virtual function.
Implements hops::MHO_Operator.
◆ SetDRAxis()
Copy the delay-rate axis from the search operator.
◆ SetMaxBins()
| void hops::MHO_InterpolateSpectralLinePeak::SetMaxBins |
( |
int |
peak_chan, |
|
|
int |
peak_dr_bin, |
|
|
int |
peak_freq_bin |
|
) |
| |
◆ SetReferenceFrequency()
| void hops::MHO_InterpolateSpectralLinePeak::SetReferenceFrequency |
( |
double |
ref_freq_mhz | ) |
|
|
inline |
Reference frequency in MHz (used to compute fringe rate from delay rate).
◆ SetSpecDRData()
| void hops::MHO_InterpolateSpectralLinePeak::SetSpecDRData |
( |
const visibility_type * |
spec_dr_data | ) |
|
|
inline |
◆ SetWeights()
| void hops::MHO_InterpolateSpectralLinePeak::SetWeights |
( |
const weight_type * |
weights | ) |
|
|
inline |
Set the weight array (needed for the total_summed_weights tag).
The documentation for this class was generated from the following files: