-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wip: first sketch of spectrum class [ci skip]
implement __repr__; add placeholder _repr_html_ add draft of _repr_html_ default to multitaper for Evokeds make raw.plot_psd() use the new code path unify viz.plot_raw_psd code path too support unaggregated multitaper add picks param to spectrum.plot() fix(ish) the units() method allow average=False as synonym for None handle unaggregated estimates in combo with epochs fix CI plotting implement get_data method [ci skip]
- Loading branch information
Showing
17 changed files
with
891 additions
and
272 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<table class="table table-hover table-striped table-sm table-responsive small"> | ||
<tr> | ||
<th>Data type</th> | ||
<td>{{ data_type }}</td> | ||
</tr> | ||
<tr> | ||
<th>Data source</th> | ||
<td>{{ inst_type }}</td> | ||
</tr> | ||
<tr> | ||
<th>Number of channels</th> | ||
<td>{{ spectrum.ch_names|length }}</td> | ||
</tr> | ||
{% if "taper" in spectrum._dims %} | ||
<tr> | ||
<th>Number of tapers</th> | ||
<td>{{ spectrum._mt_weights.size }}</td> | ||
</tr> | ||
{% endif %} | ||
<tr> | ||
<th>Number of frequency bins</th> | ||
<td>{{ spectrum.freqs|length }}</td> | ||
</tr> | ||
<tr> | ||
<th>Frequency range</th> | ||
<td>{{ '%.2f'|format(spectrum.freqs[0]) }} – {{ '%.2f'|format(spectrum.freqs[-1]) }} Hz</td> | ||
</tr> | ||
</table> |
Oops, something went wrong.