Class dsp::Bandpass

class Bandpass : public dsp::Transformation<TimeSeries, Response>

Produces the bandpass of an undetected timeseries.

Public Functions

Bandpass()

Default constructor.

~Bandpass()

Destructor.

inline void set_nchan(unsigned nchan)

Set the number of frequency channels in the bandpass.

inline unsigned get_nchan() const

Get the number of frequency channels in the bandpass.

inline void set_state(Signal::State state)

Set the state of the output.

inline Signal::State get_state() const

Get the state of the output.

inline void set_selected_input_channel(unsigned ichan)

Set the input channel to analyze.

inline void set_integrate_all_channels(bool flag)

Integrate the passbands of all channels.

virtual void set_response(Response *response)

Set the frequency response function.

bool has_response() const

Return true if the response attribute has been set.

virtual const Response *get_response() const

Return a pointer to the frequency response function.

virtual void set_apodization(Apodization *function)

Set the apodization function.

inline double get_integration_length()

Get the integration length (in seconds).

void reset_output()

Set the integration length and bandpass to zero.