LDicomWaveformChannel::SetNotchFilterFrequency

Summary

Sets the "Notch Filter Frequency" (003A,0222) element that corresponds to this channel.

Syntax

#include "Ltdic.h"

L_BOOL LDicomWaveformChannel::SetNotchFilterFrequency(bInclude, dFrequency)

Parameters

L_BOOL bInclude

Boolean flag that specifies whether the function should insert the Notch Filter Frequency (003A,0222) element or remove it from the dataset.

Value Meaning
TRUE Insert the "Notch Filter Frequency" (003A,0222) element (that corresponds to this channel) into the dataset and then set its value.
FALSE Delete the "Notch Filter Frequency" (003A,0222) element (that corresponds to this channel) from the dataset.

L_DOUBLE dFrequency

New notch filter frequency.

Returns

Value Meaning
TRUE The notch filter frequency was set successfully.
FALSE An error occurred.

Comments

Set bInclude to TRUE to force the function to insert the element if it does not already exist in the dataset.

This function can also be used to delete the "Notch Filter Frequency" (003A,0222) element that corresponds to this channel by setting bInclude to FALSE. In this case the dFrequency parameter is ignored.

Required DLLs and Libraries

Platforms

Win32, x64

See Also

Functions

Topics

Example

For an example, refer to LDicomWaveformChannel::SetChannelSamples8.

Help Version 23.0.2024.7.1
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.