-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sketch of compute_tfr() API [ci skip]
refactor method_kw checking cleaner imports refactor _get_instance_type_string WIP many changes; raw.compute_tfr(multitaper, freqs) works! add verbose to tfr_array_stockwell add get_data() method DRY / fixes for method=stockwell partially handle ITC; comments WIP [ci skip]
- Loading branch information
Showing
12 changed files
with
1,340 additions
and
65 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<table class="table table-hover table-striped table-sm table-responsive small"> | ||
<tr> | ||
<th>Data type</th> | ||
<td>{{ tfr._data_type }}</td> | ||
</tr> | ||
{%- for unit in units %} | ||
<tr> | ||
{%- if loop.index == 1 %} | ||
<th rowspan={{ units | length }}>Units</th> | ||
{%- endif %} | ||
<td class="justify">{{ unit }}</td> | ||
</tr> | ||
{%- endfor %} | ||
<tr> | ||
<th>Data source</th> | ||
<td>{{ inst_type }}</td> | ||
</tr> | ||
{%- if inst_type == "Epochs" %} | ||
<tr> | ||
<th>Number of epochs</th> | ||
<td>{{ tfr.shape[0] }}</td> | ||
</tr> | ||
{% endif -%} | ||
<tr> | ||
<th>Dims</th> | ||
<td>{{ tfr._dims | join(", ") }}</td> | ||
</tr> | ||
<tr> | ||
<th>Estimation method</th> | ||
<td>{{ tfr.method }}</td> | ||
</tr> | ||
{% if "taper" in tfr._dims %} | ||
<tr> | ||
<th>Number of tapers</th> | ||
<td>{{ tfr._mt_weights.size }}</td> | ||
</tr> | ||
{% endif %} | ||
<tr> | ||
<th>Number of channels</th> | ||
<td>{{ tfr.ch_names|length }}</td> | ||
</tr> | ||
<tr> | ||
<th>Number of timepoints</th> | ||
<td>{{ tfr.times|length }}</td> | ||
</tr> | ||
<tr> | ||
<th>Number of frequency bins</th> | ||
<td>{{ tfr.freqs|length }}</td> | ||
</tr> | ||
<tr> | ||
<th>Frequency range</th> | ||
<td>{{ '%.2f'|format(tfr.freqs[0]) }} – {{ '%.2f'|format(tfr.freqs[-1]) }} Hz</td> | ||
</tr> | ||
</table> |
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
Oops, something went wrong.