Logo Search packages:      
Sourcecode: libgdf version File versions  Download package

void gdf::Writer::blitSamplesPhys ( const size_t  channel_idx,
const float64 *  values,
size_t  num 

Blit a number of samples in physical units to channel.

The sample values are converted from the channels [physmin,physmax] to the range of [digmin,digmax] and then cast to the correct data type.

[in]channel_idxindex of the channel written to
[in]valuesarray of sample values in physical units
[in]numnumber of samples to blit

Definition at line 259 of file Writer.cpp.

References gdf::RecordBuffer::blitSamplesPhys().

        if( !m_file.is_open() )
            throw exception::file_not_open( "" );
        m_recbuf.blitSamplesPhys( channel_idx, values, num );

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index