Table of Contents

Class HarmonicColorAnalysisOptions

Namespace
Celeritas.Core.Analysis
Assembly
Celeritas.dll

Options controlling modal turn detection thresholds.

public sealed record HarmonicColorAnalysisOptions : IEquatable<HarmonicColorAnalysisOptions>
Inheritance
HarmonicColorAnalysisOptions
Implements
Inherited Members

Constructors

HarmonicColorAnalysisOptions(int, double, double)

Options controlling modal turn detection thresholds.

public HarmonicColorAnalysisOptions(int ModalTurnWindowChords, double MinModalTurnCoverage, double MinModalTurnImprovement)

Parameters

ModalTurnWindowChords int

Sliding window size, in chords, for modal-turn detection.

MinModalTurnCoverage double

Minimum scale coverage (0..1) required to report a modal turn.

MinModalTurnImprovement double

Minimum coverage gain over the base mode required to report a modal turn.

Properties

Default

Default thresholds (window 4 chords, coverage 0.85, improvement 0.12).

public static HarmonicColorAnalysisOptions Default { get; }

Property Value

HarmonicColorAnalysisOptions

MinModalTurnCoverage

Minimum scale coverage (0..1) required to report a modal turn.

public double MinModalTurnCoverage { get; init; }

Property Value

double

MinModalTurnImprovement

Minimum coverage gain over the base mode required to report a modal turn.

public double MinModalTurnImprovement { get; init; }

Property Value

double

ModalTurnWindowChords

Sliding window size, in chords, for modal-turn detection.

public int ModalTurnWindowChords { get; init; }

Property Value

int