Table of Contents

Class SingleMeasurement

Namespace
Hse.EviFluor
Assembly
Hseagcom.EviFluor.dll

Represents a single measurement consisting the 470 nm wavelength channel.

public class SingleMeasurement : IJsonSerializable
Inheritance
SingleMeasurement
Implements
Inherited Members

Constructors

SingleMeasurement(Channel?)

Initializes a new instance of the SingleMeasurement class with optional channels.

public SingleMeasurement(Channel? channel470 = null)

Parameters

channel470 Channel

The channel for 470 nm (default: new Channel()).

Properties

Channel470

Gets or sets the channel for 470 nm measurements.

public Channel Channel470 { get; set; }

Property Value

Channel

Methods

Delta()

Returns the difference between sample and dark.self->

public double Delta()

Returns

double

Difference between sample and dark

FromJson(JsonNode)

Creates a SingleMeasurement instance from a JSON node.

public static SingleMeasurement FromJson(JsonNode node)

Parameters

node JsonNode

The JSON node containing measurement data.

Returns

SingleMeasurement

A new SingleMeasurement instance.

Exceptions

ArgumentNullException

Thrown if the JSON node is null or missing required properties.

ToJson()

Converts the measurement data to a JSON representation.

public JsonNode ToJson()

Returns

JsonNode

A JsonNode representing the measurement.

ToString()

Returns a string representation of the measurement values.

public override string ToString()

Returns

string

A formatted string containing all channel values.