EchelleDiagram#

class morse.EchelleDiagram(spectrum, m, k, nurot, buoy_r, folded=False)#

Class to represent an echelle diagram.

spectrum#

Frequency data.

Type:

Spectrum

m#

Azimuthal order.

Type:

int

k#

Ordering index (Lee & Saio 97).

Type:

int

nurot#

Rotation frequency (in µHz).

Type:

float

buoy_r#

Buoyancy radius (in s).

Type:

float

folded#

If True, it is assumed that the spectrum is folded in the inertial frame.

Type:

bool

index_keep#

Indices of modes in spectrum that were not discarded in the change of reference frame.

Type:

np.array

stretched_periods_mod#

Remainder of the floor division of the stretched periods by the buoyancy radius (i.e. modulo).

Type:

np.array

plot(save=False)#

Plots the echelle diagram.

Parameters:

save (bool) – If True, saves the figure to a png file.