Click or drag to resize

Updating DataManipulation plugins

The API of RelaxISPlugin_DataManipulation plugins was not changed and should work as before. It is now marked with ObsoleteAttribute to signal that a new class is recommended for new developments.

To ignore the generated warnings, add a suppression to your code:

C#
    public class MyDataManipulation
#pragma warning disable CS0618 // Type or member is obsolete
    : RelaxISPlugin_DataManipulation
#pragma warning restore CS0618 // Type or member is obsolete
Caution note  Caution

For compatibility reasons the RelaxISPlugin_DataManipulation plugin uses the ImpedanceSpectrum_Fitted class for data handling. This type does not support the Active properties, i.e. per-point active definitions. When the plugin is applied to spectra that use this feature the datapoints may be active afterwards.

To avoid this, use the RelaxISPlugin_DataManipulation2 instead.

The RelaxISPlugin_DataManipulation2 plugin was added with a more streamlined interface and more functionality, such as the ability to remove spectra as well.

Please refer to the DataManipulation2 Plugin Example to learn about the new class.

If you made use of the RelaxIS WCFLink feature in the class, please refer to WCF Link breaking changes to learn about the changes.

See Also