-
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.
refactor method_kw checking cleaner imports refactor _get_instance_type_string 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 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 cleanup/move util funcs make plotting work for singleton EpochsTFR docstring fixes; support comments for AverageTFR fix stockwell bugs fix attributes, fix docstring format, don't store method_kw in an attribute fix import nesting add forgotten utils file add arithmetic methods fix check_option for stockwell get baseline and crop working add loader func; allow both h5 and hdf5 extensions get plot_topomap working better decim support for stockwell make read_tfrs always return new class refactor plot_joint get plot_joint interaction working for grads; propogate topomap_kw to popup figs small improvements to util func set_title_multi_electrodes get onselect topomaps to look like plot_joint topomaps copy everything to tfr.py; delete spectrogram.py; mark legacy plot_joint debugging
- Loading branch information
Showing
22 changed files
with
3,096 additions
and
1,609 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
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> |
Oops, something went wrong.