Ask a Question | Search DSPSR: |
Home
|
Input.h virtual void set_ndat(uint64_t _ndat) Set the number of time samples in container. Definition: Observation.h:105 unsigned get_resolution() const Get the time sample resolution of the data source. Definition: Input.h:125 unsigned resolution Time sample resolution of the data source. Definition: Input.h:178 void seek_seconds(double seconds, int whence=0) Convenience method used to seek in units of seconds. Definition: Input.C:345 Produces TimeSeries data by integrating an Input with an Unpacker. Definition: IOManager.h:26 Pure virtual base class of all objects that can load BitSeries data. Definition: Input.h:31 virtual uint64_t get_block_size() const Return the number of time samples to load on each load_block. Definition: Input.h:90 void prepare() Prepare the output with the attributes of the data source. Definition: Input.C:55 virtual Observation * get_info() Get the information about the data source. Definition: Input.h:113 virtual void resize(int64_t nsamples) Allocate the space required to store nsamples time samples. Definition: BitSeries.C:55 virtual const Input * get_origin() const The origin of the data may be re-implemented by wrappers like SerialFiles. Definition: Input.h:47 virtual void copy(const Input *input) Copies the behaviour and information attributes (not data) Definition: Input.C:235 void set_context(ThreadContext *context) In multi-threaded programs, a mutual exclusion and a condition. Definition: Input.C:38 Reference::To< BitSeries > output The BitSeries to which data will be loaded on next call to operate. Definition: Input.h:157 uint64_t get_ndat() const Return the number of time samples in container. Definition: Observation.h:107 virtual void load_data(BitSeries *data)=0 Load the next block of time samples into BitSeries. virtual void set_overlap(uint64_t _overlap) Set the number of time samples by which consecutive blocks overlap. Definition: Input.C:49 std::string real_source If not "" then the source of the output gets changed to this after loading [""]. Definition: Input.h:185 Defines the interface by which operations are performed on data. Definition: Operation.h:37 uint64_t get_load_sample() const Get the next time sample to be loaded. Definition: Input.h:119 virtual void mark_output() Mark the output BitSeries with sequence informatin. Definition: Input.C:96 Stores information about digital, band-limited, time-varying signals. Definition: Observation.h:33 virtual void set_output(BitSeries *data) Set the BitSeries to which data will be loaded. Definition: Input.C:203 virtual uint64_t get_stride() const Convenience function for returning block_size-overlap. Definition: Input.h:100 uint64_t tell() const Return the first time sample to be read on the next call to operate. Definition: Input.h:84 bool has_context() const Return true if the thread context has been set. Definition: Input.h:146 void set_total_seconds(double seconds) Convenience method used to set the number of seconds. Definition: Input.C:376 void set_total_samples(uint64_t s) Set the total number of time samples available. Definition: Input.h:107 virtual std::string get_prefix() const Input derived types may specify a prefix to be added to output files. Definition: Input.C:43 virtual void seek(int64_t offset, int whence=0) Seek to the specified time sample. Definition: Input.C:282 virtual BitSeries * get_output() Retrieve a pointer to the output. Definition: Input.C:213 A container for storing digitized (generally not floating point) data Definition: BitSeries.h:35 virtual const Observation * get_info() const Get the information about the data source. Definition: Input.h:116 double tell_seconds() const Convenience method used to report the offset in seconds. Definition: Input.C:354 Reference::To< Observation > info Information about the data source (passed on to BitSeries in load) Definition: Input.h:171 void set_start_seconds(double seconds) Set the start of observation offset in units of seconds. Definition: Input.C:363 void set_resolution(unsigned res) Set the time sample resolution of the data source (use with care) Definition: Input.h:128 virtual bool has_output() const Return true if output is set. Definition: Input.C:221 virtual void restart() Return to the start of data, if possible. Definition: Input.C:268 virtual uint64_t get_total_samples() const Return the total number of time samples available. Definition: Input.h:103 virtual uint64_t get_overlap() const Return the number of time samples by which consecutive blocks overlap. Definition: Input.h:95 virtual void operation() Load data into the BitSeries specified with set_output. Definition: Input.C:106 void reserve() Reserve the maximum amount of output space required. Definition: Input.C:83 virtual void set_block_size(uint64_t _size) Set the number of time samples to load on each load_block. Definition: Input.C:399 uint64_t get_load_size() const Get the number of samples to be loaded. Definition: Input.h:122 uint64_t last_load_ndat The ndat of the BitSeries last loaded Used by Seekable::recycle_data() and set by load() Definition: Input.h:182 Generated using doxygen 1.8.17
|