Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eddy/structurefunction.py
Original file line number Diff line number Diff line change
Expand Up @@ -2918,7 +2918,7 @@ def calculate_modal_power(self, modes=(1,), axis=None, p0=None):
* ``frac_of_data_total``: ``sum_m frac_of_data``, ``(N_ref,)``.
* ``popt``, ``perr``: the raw fit outputs.
"""
popt, perr = self.fit_spiral(modes=modes, axis=axis, p0=p0)
popt, perr, _ = self.fit_spiral(modes=modes, axis=axis, p0=p0)
offset = popt[:, 0]
amps = popt[:, 1:]
power = amps ** 2
Expand Down
Loading