-
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] dedup WIP AverageTFR WIP sketch of iter_evoked forgotten (temporary) import rework evoked fixtures to provide uncropped evoked option override plot() method for EpochsTFR add nave to save/load roundtrip move copy to base class, fix docstrings, work on iter_evoked work on ITC handling; add ValueErrors for unsupported param combos; cleanup TODOs move arg gymnastics into EpochsTFR init; get iter_evoked working get TFR.average() working working on making stockwell/ITC behave sanely reorg for saner class behavior [ci skip] cleanup/move util funcs make plotting work for singleton EpochsTFR docstring fixes; support comments for AverageTFR fix stockwell bugs [ci skip] fix attributes, fix docstring format, don't store method_kw in an attribute [ci skip] fix import nesting add forgotten utils file add arithmetic methods [ci skip] fix check_option for stockwell get baseline and crop working add loader func; allow both h5 and hdf5 extensions get plot_topomap working [ci skip]
- Loading branch information
Showing
16 changed files
with
2,209 additions
and
87 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
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
Oops, something went wrong.