Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev merge #322

Merged
merged 267 commits into from
Aug 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
267 commits
Select commit Hold shift + click to select a range
768c738
CHG: Add coh output tests
tensionhead Jun 21, 2022
19793d7
Merge pull request #293 from esi-neuroscience/plotting-tests
dfsp-spirit Jun 22, 2022
d85e565
Merge pull request #294 from esi-neuroscience/issue292
dfsp-spirit Jun 22, 2022
e5164a6
Merge branch 'dev' into 224-fooof-implementation
dfsp-spirit Jun 24, 2022
a6cfb5b
FIX: minor typo corrected
dfsp-spirit Jun 24, 2022
a2fb72c
WIP: add FOOOF file with started docs
dfsp-spirit Jun 24, 2022
a722300
WIP: Modify unwrap_io
tensionhead Jun 24, 2022
9cea176
WIP: Idea how to process sequential within unwrap_io
tensionhead Jun 24, 2022
7be175d
CHG: Add explicit `interactive` keyword to `cleanup()`
tensionhead Jun 27, 2022
4b7435f
WIP: add FOOOF testing class
dfsp-spirit Jun 27, 2022
2e3080f
Merge pull request #298 from esi-neuroscience/297-providing-the-user-…
tensionhead Jun 27, 2022
9d6bd59
WIP: prepare tests
dfsp-spirit Jun 27, 2022
f65a6e1
WIP: add fooof arguments
dfsp-spirit Jun 27, 2022
8c1a328
prepare fooof method in frontend
dfsp-spirit Jun 27, 2022
f165741
use SPYValueError instead of ValueError
dfsp-spirit Jun 28, 2022
71883f3
WIP: support setting FOOOF output type, fieldtrip-stlye
dfsp-spirit Jun 28, 2022
ac17cdb
CHG: Rename unwrap_io to process_io
tensionhead Jun 28, 2022
ab83cc5
FIX: Return to working/running state
tensionhead Jun 28, 2022
f4a3f8b
add output data types of fooof, depending on requested return value
dfsp-spirit Jun 29, 2022
7aba06e
WIP: reuser fooof output time from datatype def
dfsp-spirit Jun 29, 2022
d353cd2
WIP: add skeleton of foooof CF and CR
dfsp-spirit Jun 29, 2022
cb92ba9
WIP: Access h5 containers of virtual Dataset
tensionhead Jun 29, 2022
eb253cb
WIP: rename output_fooof to ouput_fmt for consistency
dfsp-spirit Jun 29, 2022
6c78103
WIP: sketch the fooof backend function
dfsp-spirit Jun 29, 2022
18b059e
add fooof as dep, maybe tmp
dfsp-spirit Jun 30, 2022
71ef399
WIP: rename fooof to spfooof to prevent name clash
dfsp-spirit Jun 30, 2022
70effe3
WIP: rename test file to reflect renaming
dfsp-spirit Jun 30, 2022
af4ee5a
WIP: wire cF
dfsp-spirit Jul 1, 2022
5a5e57b
WIP: compute aperiodic out spectrum
dfsp-spirit Jul 1, 2022
12f68d6
WIP: compute spectrum for Gaussians fit to peaks
dfsp-spirit Jul 1, 2022
d192bb5
WIP: add doc link to FOOOF to clarify Gaussian param meanings
dfsp-spirit Jul 1, 2022
64e60f9
return aperiodic fit parameters from backend
dfsp-spirit Jul 4, 2022
24a81e8
WIP: work on backend unit test
dfsp-spirit Jul 4, 2022
e1b2248
WIP: return used fooof settings
dfsp-spirit Jul 4, 2022
615156a
WIP: refactor tests to class, test exceptions
dfsp-spirit Jul 4, 2022
946397f
WIP: more fooof input sanitation and tests
dfsp-spirit Jul 4, 2022
2a7ebe5
WIP: add unit test for out_type=fooof_peaks
dfsp-spirit Jul 4, 2022
d26fdaa
WIP: split FOOOF frontend tests into sep file
dfsp-spirit Jul 4, 2022
b66da5b
WIP: work on frontend tests
dfsp-spirit Jul 4, 2022
c438c20
WIP: give actual numbers on mismatch of labels/signal len
dfsp-spirit Jul 4, 2022
917b6de
WIP: pass only subset of data to spfooof in cF
dfsp-spirit Jul 4, 2022
1db2c71
WIP: add frontend tests for fooof
dfsp-spirit Jul 5, 2022
6a601de
WIP: investigate spectrum length off-by-1 error
dfsp-spirit Jul 5, 2022
2d5036e
WIP: flake stuff mostly
dfsp-spirit Jul 6, 2022
8dc1c39
WIP: flake changes
dfsp-spirit Jul 6, 2022
1fd3503
WIP: use 2 separte args instead of dict in spfooof
dfsp-spirit Jul 6, 2022
5fd7667
WIP: check for invalid foof_opt entries
dfsp-spirit Jul 6, 2022
f900317
WIP: check whether fooof_opt is used in backend
dfsp-spirit Jul 6, 2022
43b5cef
WIP: flake fixes
dfsp-spirit Jul 7, 2022
78d233f
add docstrings for fooof implementation
dfsp-spirit Jul 7, 2022
0007c6c
WIP: refactor available_fooof_options
dfsp-spirit Jul 7, 2022
b1d9f7d
WIP: rename backend spfooof function to foofspy
dfsp-spirit Jul 7, 2022
39cf448
WIP: rename fooof backend and test files to reflect changed function …
dfsp-spirit Jul 7, 2022
dda916f
WIP: re-use default fooof_opts
dfsp-spirit Jul 7, 2022
4be22f9
WIP: add example to fooofspy docstring
dfsp-spirit Jul 7, 2022
87e57d7
FIX: fix imports in docstring example
dfsp-spirit Jul 7, 2022
67d3138
WIP: add fooof docstrings for frontend
dfsp-spirit Jul 7, 2022
39f090a
FIX: log correct output type in case of is_fooof
dfsp-spirit Jul 7, 2022
dcbeb23
FIX: fill out fooof log *before* calling compute()
dfsp-spirit Jul 7, 2022
be56c1d
FIX: fix merging of fooof defaults and unit test passing them twice, …
dfsp-spirit Jul 7, 2022
78c356b
WIP: check for fooof log entries in frontend tests
dfsp-spirit Jul 7, 2022
7ee6ac0
WIP: add better asserts for fooof log testing
dfsp-spirit Jul 7, 2022
d77e4b8
add external tests to investigate strange fooof behaviour
dfsp-spirit Jul 7, 2022
9bf9353
FIX: Catch invalid show kwargs
tensionhead Jul 7, 2022
f906cd5
NEW: Test for invalid show kwargs
tensionhead Jul 7, 2022
21849a8
FIX: Catch also out-of-range toi selections in show
tensionhead Jul 7, 2022
83e7f26
WIP: check fooof with different freq_res settings
dfsp-spirit Jul 8, 2022
4ebbc61
FIX: Check for sorted/unique input for selections with string sequences
tensionhead Jul 8, 2022
b5257b8
remove hdr/memmap from computational_routine
dfsp-spirit Jul 8, 2022
abb3318
remove hdr poperty for SyncopyData
dfsp-spirit Jul 8, 2022
0299da4
remove memmap from base_data
dfsp-spirit Jul 8, 2022
ce2ad9f
WIP: Remove memmap in more places
dfsp-spirit Jul 8, 2022
07985d8
remove VirtualData
dfsp-spirit Jul 8, 2022
b0aad5a
FIX: refined toi index check
tensionhead Jul 8, 2022
044ecd3
CHG: Subdivide cfg with CR names
tensionhead Jul 8, 2022
f0a0b10
FIX: fix some tests
dfsp-spirit Jul 8, 2022
9d8cd36
FIX: Ditch global cfg
tensionhead Jul 8, 2022
034b532
CHG: Streamline cfg setter
tensionhead Jul 8, 2022
4e444be
CHG: Create cfg in the respective frontends
tensionhead Jul 8, 2022
922ef3a
FIX: Remove cfg tests from test_computationalroutine
tensionhead Jul 8, 2022
95b6eb2
Merge pull request #301 from esi-neuroscience/291-show-select
dfsp-spirit Jul 8, 2022
a5d981f
docstring updates
dfsp-spirit Jul 8, 2022
fd0b17a
Merge branch 'dev' into 224-fooof-implementation
dfsp-spirit Jul 8, 2022
e6bb918
demonstrate freq 0 issue in unit test
dfsp-spirit Jul 8, 2022
eceba53
WIP: minor, rename test
dfsp-spirit Jul 11, 2022
c89f058
Merge pull request #302 from esi-neuroscience/140-sub-remove-hdr-memmap
tensionhead Jul 11, 2022
7c10765
NEW: get_frontend_cfg
tensionhead Jul 11, 2022
2d65c3d
WIP: error with fooof and zero in data, add foilim tests
dfsp-spirit Jul 11, 2022
c0bacb1
FIX: fix freq axis of FOOOF output
dfsp-spirit Jul 11, 2022
b75d4b0
NEW: cfg tests
tensionhead Jul 11, 2022
11534b1
WIP: copy trialdef to fooof output, try plot
dfsp-spirit Jul 11, 2022
36292bb
FIX: Use np.allclose to get rid of inconsistencies
tensionhead Jul 11, 2022
2cfcfc6
CHG: Unwrap cfg for single frontend call tests
tensionhead Jul 11, 2022
6f9f6e5
WIP: fooof frontend tests
dfsp-spirit Jul 11, 2022
d94b54d
FIX: Removed obsolete tests
tensionhead Jul 11, 2022
46f1c70
add init.py files for auto test discovery in vscode pluign
dfsp-spirit Jul 11, 2022
28d97b6
WIP: add simple plooting func for tests
dfsp-spirit Jul 11, 2022
166bf2c
WIP: use simple test plot to plot fooof result
dfsp-spirit Jul 11, 2022
484505e
FIX: undo FOOOF storing stuff as log10 internally
dfsp-spirit Jul 12, 2022
4ecd890
WIP: rename foof to fooof everywhere, flake8 stuff
dfsp-spirit Jul 12, 2022
d022aec
CHG: Save some ffts
tensionhead Jul 12, 2022
2a9d837
CHG: Wire pre-filtered input to downsampling CR
tensionhead Jul 12, 2022
92cac14
FIX: Move assertions for exception value checking outside of with block
tensionhead Jul 12, 2022
76dab93
CHG: Do not allow sub-optimal lp filter freq
tensionhead Jul 12, 2022
43a3fb3
NEW: Downsampling tests
tensionhead Jul 12, 2022
fc2cb5f
document that fooofspy output is log'ed
dfsp-spirit Jul 13, 2022
7a011ea
add some comments to frontend unit tests
dfsp-spirit Jul 13, 2022
dfa3581
WIP: Resampling tests
tensionhead Jul 13, 2022
b07aab0
WIP: remove debug prints
dfsp-spirit Jul 13, 2022
d47a2dd
WIP: document that out is not supported with fooof
dfsp-spirit Jul 13, 2022
700ff79
WIP: remove timeaxis checking
dfsp-spirit Jul 13, 2022
5ac81e7
add test that plots raw data and output of all fooof methods
dfsp-spirit Jul 13, 2022
1d1435f
FIX: fix asserts in fooof test
dfsp-spirit Jul 13, 2022
53217fe
WIP: resampling tests
tensionhead Jul 13, 2022
4a78e87
add fooof plotting backend test
dfsp-spirit Jul 14, 2022
6fda1ee
add backend test with fooof plot
dfsp-spirit Jul 14, 2022
6256fbd
NEW: Resampling tests
tensionhead Jul 14, 2022
fa96ba0
FIX: rename test script
tensionhead Jul 14, 2022
5dc300a
CHG: Commit fixes + io tests
tensionhead Jul 14, 2022
b18c282
CHG: Support new cfg for selectdata
tensionhead Jul 14, 2022
4ff9513
Merge branch 'dev' into 209-cfg
tensionhead Jul 14, 2022
06cdb27
FIX: Botched merge conflict resolution
tensionhead Jul 14, 2022
10e902b
FIX: Adjust data tests
tensionhead Jul 14, 2022
d57dfcd
WIP: better fooof docs and tests
dfsp-spirit Jul 15, 2022
dd6fa83
use Gaussian params instead of peak params
dfsp-spirit Jul 15, 2022
e03f79e
remove outdated if else branching
dfsp-spirit Jul 15, 2022
811fea5
FIX: fix pytest.raises tests
dfsp-spirit Jul 15, 2022
bfab6b2
add FOOOF entry to changelog
dfsp-spirit Jul 15, 2022
1334853
add FOOOF entry to changelog
dfsp-spirit Jul 15, 2022
5467d80
FIX: work around issue #209 in tests
dfsp-spirit Jul 15, 2022
b60ebca
Merge pull request #305 from esi-neuroscience/209-cfg
tensionhead Jul 15, 2022
63b3fd1
Merge branch 'dev' into 290-resampling-tests
tensionhead Jul 15, 2022
359dff5
FIX: Remove unneeded argument from test_downsampling
tensionhead Jul 15, 2022
63c9264
resolve merge conflicts with changes from #209 fix
dfsp-spirit Jul 15, 2022
573aa98
adapt tests to changes after #209 merge
dfsp-spirit Jul 15, 2022
ced3560
FIX: Correct lpfreq for resampledata
tensionhead Jul 15, 2022
a59064d
FIX: Improve/fix default results checking
tensionhead Jul 15, 2022
b2b0b75
attach older cfgs
dfsp-spirit Jul 18, 2022
8366b98
Update changelog
tensionhead Jul 18, 2022
c3405a2
FIX: make sure + test that cfg stores output fooof with fooof
dfsp-spirit Jul 18, 2022
9ce7428
add test for cfg chaining with fooof
dfsp-spirit Jul 18, 2022
730eda5
Merge pull request #309 from esi-neuroscience/290-resampling-tests
dfsp-spirit Jul 18, 2022
40e04c6
Merge branch 'dev' into 224-fooof-implementation
dfsp-spirit Jul 18, 2022
eabd05a
merge current dev into branch
dfsp-spirit Jul 18, 2022
c3114b1
PR format fixes backend test
tensionhead Jul 18, 2022
2f9abb2
WIP: Add AR1 simulations to fooof backend tests
tensionhead Jul 18, 2022
c100605
CHG: remove fooofDType from const_def
dfsp-spirit Jul 18, 2022
b9a7b66
FIX: change comparison to assignment in test
dfsp-spirit Jul 18, 2022
75926a6
CHG: remove unused fulltests param from fooof tests
dfsp-spirit Jul 18, 2022
4be8356
CHG: remove all references to cfg.out in tests
dfsp-spirit Jul 18, 2022
eb33667
CHG: use spectralConversions.keys
dfsp-spirit Jul 18, 2022
0eeffbc
CHG: short frontend test names
dfsp-spirit Jul 18, 2022
4d7687d
CHG: remove external fooof tests
dfsp-spirit Jul 18, 2022
76b02d3
CHG: also check for zero frequency in backend
dfsp-spirit Jul 19, 2022
28f29de
CHG: move undoing of fooofs log10 representation to backend
dfsp-spirit Jul 19, 2022
c31130f
CHG: extend fooof tests
dfsp-spirit Jul 19, 2022
1101eda
CHG: update foood docs: noise warning, out not supported anymore.
dfsp-spirit Jul 19, 2022
9ddd91c
CHG: do not use syncopy imports in backend
dfsp-spirit Jul 19, 2022
049d741
FIX: do not use SpyValueError in backend
dfsp-spirit Jul 19, 2022
6af153d
FIX: prevent warnings about useless fooof_opt in mtmfft
dfsp-spirit Jul 19, 2022
a9081ab
FIX: set fooof peak_width_limits in tests to avoid warnings
dfsp-spirit Jul 19, 2022
a5a2d3e
FIX: set fooof peak_width_limits in tests to avoid warnings in backen…
dfsp-spirit Jul 19, 2022
44c676d
CHG: remove checking for outdated 'out' parameter
dfsp-spirit Jul 19, 2022
8f441db
WIP: generate proper fooof test data in frontend
dfsp-spirit Jul 19, 2022
ac3b4f8
FIX: fix fooof signal creation
dfsp-spirit Jul 19, 2022
d67438b
WIP: fix backend tests
dfsp-spirit Jul 19, 2022
7c25126
WIP: better plot labeling in tests
dfsp-spirit Jul 19, 2022
0e6b7e6
WIP: better plot labels, use AR1 data in frontend test
dfsp-spirit Jul 19, 2022
c131aed
CHG: improve helper functions
dfsp-spirit Jul 20, 2022
c9ee4e7
WIP: add some helper plot functions
dfsp-spirit Jul 20, 2022
dd927cf
CHG: better plot titles
dfsp-spirit Jul 20, 2022
eb9a3ab
CHG: add optional phase diffusion to fooof test signal
dfsp-spirit Jul 20, 2022
6f7a7be
FIX: get AnalogData instead of numpy array in fooof test
dfsp-spirit Jul 20, 2022
41c785b
disable plots with old data
dfsp-spirit Jul 20, 2022
ef77ba5
CHG: get proper fooof test signal by trial averaging
dfsp-spirit Jul 20, 2022
f2b0196
FIX: Resolve merge conflict
tensionhead Jul 20, 2022
10761d4
FIX: Resolve merge conflicts
tensionhead Jul 20, 2022
6d889c0
WIP: minor refactor only
dfsp-spirit Jul 20, 2022
a37611c
FIX: remove memuse parameter in base_data
dfsp-spirit Jul 21, 2022
09dd12e
CHG: remove some unused code
dfsp-spirit Jul 21, 2022
2a1504d
Merge pull request #311 from esi-neuroscience/140-multiple-outputs
tensionhead Jul 21, 2022
fa86a3c
CHG: Rework copy
tensionhead Jul 21, 2022
ac654ff
add auto-updated citation
dfsp-spirit Jul 21, 2022
1b753ba
CHG: use ar1 data in fooof tests
dfsp-spirit Jul 21, 2022
7b89476
work on fooof tests
dfsp-spirit Jul 21, 2022
ba71071
FIX: fix backend tests and scales
dfsp-spirit Jul 22, 2022
87dfe57
CHG: rename test plotting func, remove duplicated test function
dfsp-spirit Jul 22, 2022
69c876c
Merge remote-tracking branch 'origin/dev' into 224-fooof-implementation
dfsp-spirit Jul 22, 2022
a2f0bbd
FIX: it is called process_io now, not unwrap_io
dfsp-spirit Jul 22, 2022
5ce7505
FIX: fix computation of fooof_peaks output
dfsp-spirit Jul 22, 2022
e26265b
CHG: some minor cleanups
dfsp-spirit Jul 22, 2022
3f012d8
CHG: Add parallel tests and refine fooofing of synthetic data
tensionhead Jul 22, 2022
d496bb7
Update CHANGELOG.md
tensionhead Jul 22, 2022
c2d0953
Merge pull request #312 from esi-neuroscience/286-refurbish-copy
tensionhead Jul 22, 2022
b43c132
NEW: .info property
tensionhead Jul 22, 2022
e5799dd
Merge pull request #314 from esi-neuroscience/dev
tensionhead Jul 22, 2022
3d58f5b
NEW: info property tests
tensionhead Jul 22, 2022
a756e77
FIX: Relax resampling test
tensionhead Jul 22, 2022
ab8d993
Merge branch 'dev' into 224-fooof-implementation
tensionhead Jul 22, 2022
34662fb
FIX: remove sphinx language warning
dfsp-spirit Jul 22, 2022
e2b3050
FIX: fix doc links to moved stuff
dfsp-spirit Jul 22, 2022
7b689b2
FIX: fix more doc links
dfsp-spirit Jul 22, 2022
21244a0
NEW: SerializableDict class
tensionhead Jul 22, 2022
1f33c3a
CHG: link fooof page from index
dfsp-spirit Jul 22, 2022
cda75e4
NEW: info property tests
tensionhead Jul 22, 2022
0c3eea0
Merge pull request #307 from esi-neuroscience/224-fooof-implementation
tensionhead Jul 22, 2022
5f21b36
NEW: sketch text of fooof tutorial
dfsp-spirit Jul 25, 2022
a37932d
Update local_spy.py
tensionhead Jul 25, 2022
409ca5f
CHG: improve fooof tutorial
dfsp-spirit Jul 25, 2022
0d51cab
CHG: add temporary fooof tut figures
dfsp-spirit Jul 25, 2022
b2004d3
FIX: rename fooof doc figure
dfsp-spirit Jul 25, 2022
8ca6d58
CHG: add finetuning subsection to fooof tutorial
dfsp-spirit Jul 25, 2022
168f833
FIX: fix DOI link to fooof paper
dfsp-spirit Jul 25, 2022
5c374bd
FIX: fix typo in fooof tut
dfsp-spirit Jul 25, 2022
2451933
CHG: add tiny power in local_spy
dfsp-spirit Jul 25, 2022
5532ac1
CHG: add 1e-16 to fooof_peaks ouput to allow log plotting.
dfsp-spirit Jul 25, 2022
6d1e5d8
:Merge branch 'dev' into 308_fooof_docs
dfsp-spirit Jul 25, 2022
990174e
Update local_spy.py
tensionhead Jul 25, 2022
5ffe6ef
CHG: Update fooof tut images
dfsp-spirit Jul 25, 2022
bf8a1d5
CHG: add cross-ref to synth data docs
dfsp-spirit Jul 25, 2022
2cf79ee
CHG: link to FOOOF docs for fooof_opt possibilities
dfsp-spirit Jul 25, 2022
3c3d5b8
DOC: FoooF doc ammends
tensionhead Jul 25, 2022
d0b8556
DOC: fix missing dt -> signals renamings
tensionhead Jul 25, 2022
228f3ef
FIX: No trial averaging without some trials
tensionhead Jul 25, 2022
ee9aa59
Merge pull request #316 from esi-neuroscience/308_fooof_docs
tensionhead Jul 25, 2022
9a5d318
FIX: prevent error on init of SpikeData with empty ndarray
dfsp-spirit Jul 26, 2022
3a4743d
add (failing) test for non-serializable keys
dfsp-spirit Jul 26, 2022
6a4a85a
mention #257 fix
dfsp-spirit Jul 26, 2022
210da86
CHG: Check also keys for serializablity
tensionhead Jul 26, 2022
8651aee
Update CHANGELOG.md
tensionhead Jul 26, 2022
e41e8fe
Merge pull request #317 from esi-neuroscience/257_fix_error_message_e…
tensionhead Jul 26, 2022
f28e57b
Merge pull request #315 from esi-neuroscience/303-auxiliary-meta-info…
tensionhead Jul 26, 2022
ff57828
NEW: Use poetry to build and publish syncopy
tensionhead Jul 26, 2022
7b6f04e
Refined pyproject.toml
tensionhead Jul 26, 2022
636ca9c
Set valid version
tensionhead Jul 26, 2022
382b604
remove setup.py
tensionhead Jul 27, 2022
49e618f
Update .gitlab-ci.yml
tensionhead Jul 27, 2022
f3da13d
Update pyproject.toml - increment mock up version for testing
tensionhead Jul 27, 2022
9d661da
Update .gitlab-ci.yml, trying to fix ruamel installation for powerlinux
tensionhead Jul 27, 2022
cd16305
Update pyproject.toml - use correct publishing name
tensionhead Jul 27, 2022
e868ae7
Update .gitlab-ci.yml - fully integrated poetry to replace setup.py
tensionhead Jul 27, 2022
799c7f3
add flake8 to dev deps
tensionhead Jul 27, 2022
d91d47a
Merge pull request #319 from esi-neuroscience/318-migrate-build-syste…
tensionhead Jul 28, 2022
a169d4e
Update cov_test_workflow.yml
tensionhead Jul 28, 2022
5c21bc0
update poetry.lock
tensionhead Jul 28, 2022
72c7141
FIX: MTMFFT parallel test
tensionhead Jul 28, 2022
21b40b3
CHG: Turn on demeaning after tapering for granger
tensionhead Jul 29, 2022
ccf8205
CHG: Introduce legacy info fields
tensionhead Jul 29, 2022
b00c15d
CHG: Streamline tf_parallel tests
tensionhead Jul 29, 2022
1bc910b
Merge branch 'psth' into dev
tensionhead Aug 2, 2022
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
17 changes: 11 additions & 6 deletions .github/workflows/cov_test_workflow.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run tests and determine coverage
name: Run basic tests and determine coverage

on:
# Triggers the workflow on push or pull request events
Expand All @@ -22,20 +22,25 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install poetry
run: |
pip install poetry
- name: Install SyNCoPy
run: |
pip install -e .[dev]
poetry install
- name: Lint with flake8
run: |
pip install flake8
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
poetry run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest and get coverage
run: |
cd syncopy/tests
pytest --color=yes --tb=short --verbose --cov=../../syncopy --cov-config=../../.coveragerc --cov-report=xml
# run parallel tests only for base CR
poetry run pytest -k 'computationalroutine and parallel'
# don't run general parallel tests
poetry run pytest -k 'not parallel' --color=yes --tb=short --verbose --cov=../../syncopy --cov-config=../../.coveragerc --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
Expand Down
37 changes: 16 additions & 21 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ powerlinux:
- conda clean --all -y
- conda env update -f syncopy.yml --prune
- conda activate syncopy
# see https://github.com/conda/conda/issues/10178
- conda install ruamel.yaml
- tox -p 0

intelwin:
Expand Down Expand Up @@ -104,7 +106,7 @@ slurmtest:
- srun -p DEV --mem=8000m -c 4 pytest --full test_specest.py -k 'para'
- srun -p DEV --mem=8000m -c 4 pytest --full test_connectivity.py
- srun -p DEV --mem=8000m -c 4 pytest --full --ignore=test_specest.py --ignore=test_connectivity.py

pypitest:
stage: upload
only:
Expand All @@ -115,22 +117,18 @@ pypitest:
variables:
GIT_FETCH_EXTRA_FLAGS: --tags
script:
- rm -rf dist/
- source $HOME/miniconda/etc/profile.d/conda.sh
- conda update --yes conda
- conda clean --all -y
- conda env update -f syncopy.yml --prune
- conda activate syncopy
- conda install --yes twine keyring rfc3986
- conda update --yes twine keyring rfc3986
- rm -rf dist/ build/ esi_syncopy.egg-info/
- python setup.py sdist bdist_wheel
- tarname="$(basename -- $(ls dist/*.tar.gz) .tar.gz)"
- version=$(sed -e 's/esi-syncopy-\(.*\)/\1/' <<< "$tarname")
- twine upload --repository testpypi --config-file=~/.esipypirc dist/*
# get poetry with python 3.8
- conda activate spy38
- poetry build
# needs config pypi credentials on runner
- poetry publish -r testpypi
- sleep 300
- conda create --yes --name piptest python=3.8
- conda activate piptest
- conda install --yes pip
- version=$(grep 'version =' pyproject.toml | awk -F "\"" '{print $2}')
- pip --no-cache-dir install --extra-index-url https://test.pypi.org/simple esi-syncopy==$version
- python -c "import syncopy as spy"
- conda deactivate
Expand All @@ -146,13 +144,10 @@ pypideploy:
variables:
GIT_FETCH_EXTRA_FLAGS: --tags
script:
- rm -rf dist/
- source $HOME/miniconda/etc/profile.d/conda.sh
- conda update --yes conda
- conda clean --all -y
- conda env update -f syncopy.yml --prune
- conda activate syncopy
- conda install --yes twine keyring rfc3986
- conda update --yes twine keyring rfc3986
- rm -rf dist/ build/ esi_syncopy.egg-info/
- python setup.py sdist bdist_wheel
- twine upload --config-file=~/.esipypirc dist/*
# get poetry with python 3.8
- conda activate spy38
- poetry build
# needs config pypi credentials on runner
- poetry publish -r pypi
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,31 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).



## [Unreleased]

### NEW
- Added down- and resampling algorithms for the new meta-function `resampledata`
- Added FOOOF method as a post-processing option for the freqanalysis method mtmfft.
- new global `spy.copy()` function which copies entire Syncopy objects on disk
- Added `.info` attribute for all data classes to store auxiliary meta information


### CHANGED
- the `out.cfg` attached to an analysis result now allows to replay all analysis methods
- `connectivityanalysis` now has FT compliant output support for the coherence
- `spy.cleanup` now has exposed `interactive` parameter
- removed keyword `deep` from `copy()`, all our copies are in fact deep
- demeaning after tapering for granger analysis

### FIXED
- `out.cfg` global side-effects (sorry again @kajal5888)
- `CrossSpectralData` plotting
- mixing of explicit keywords and `cfg` to control analysis
- fixed error on initializing SpikeData with empty ndarray (#257)


## [2022.05] - 2022-05-13
Bugfixes and features additions for `EventData` objects.

Expand Down
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ keywords:
- spectral-methods
- brain
repository-code: https://github.com/esi-neuroscience/syncopy
version: 0.3.dev187
date-released: '2022-04-13'
version: 2022.6.dev203
date-released: '2022-07-21'
173 changes: 0 additions & 173 deletions conda2pip.py

This file was deleted.

25 changes: 15 additions & 10 deletions doc/source/README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. Syncopy documentation master file

.. title:: Syncopy Documentation

.. image:: _static/syncopy_logo.png
:alt: Syncopy logo
:height: 200px
Expand All @@ -11,14 +11,14 @@
Welcome to the Documentation of SyNCoPy!
========================================

SyNCoPy (**Sy**\stems **N**\euroscience **Co**\mputing in **Py**\thon, spelled Syncopy in the following)
is a Python toolkit for user-friendly, large-scale electrophysiology data analysis.
SyNCoPy (**Sy**\stems **N**\euroscience **Co**\mputing in **Py**\thon, spelled Syncopy in the following)
is a Python toolkit for user-friendly, large-scale electrophysiology data analysis.
We strive to achieve the following goals:

1. Syncopy provides a full *open source* Python environment for reproducible
electrophysiology data analysis.
2. Syncopy is *scalable* to accommodate *very large* datasets. It automatically
makes use of available computing resources and is developed with built-in
2. Syncopy is *scalable* to accommodate *very large* datasets. It automatically
makes use of available computing resources and is developed with built-in
parallelism in mind.
3. Syncopy is *compatible* with the MATLAB toolbox `FieldTrip <http://www.fieldtriptoolbox.org/>`_.

Expand All @@ -27,15 +27,19 @@ Getting Started
- Prerequisites: :doc:`Install Syncopy </setup>`
- Jumping right in: :doc:`Quickstart Guide <quickstart/quickstart>`

Want to contribute or just curious how the sausage
is made? Take a look at our :doc:`Developer Guide <developer/developers>`.
Want to contribute or just curious how the sausage
is made? Take a look at our :doc:`Developer Guide <developer/developers>`.


In depth Guides and Tutorials
-----------------------------
* :doc:`Basic Concepts <user/concepts>`
* :doc:`Syncopy for FieldTrip Users <user/fieldtrip>`
* :doc:`Handling Data <user/data>`
* :doc:`Fooof <tutorials/fooof>`

Auto-generate API Docs
-----------------------
* :doc:`User API <user/user_api>`

Navigation
Expand All @@ -46,8 +50,8 @@ Navigation

Contact
-------
To report bugs or ask questions please use our `GitHub issue tracker <https://github.com/esi-neuroscience/syncopy/issues>`_.
For general inquiries please contact syncopy (at) esi-frankfurt.de.
To report bugs or ask questions please use our `GitHub issue tracker <https://github.com/esi-neuroscience/syncopy/issues>`_.
For general inquiries please contact syncopy (at) esi-frankfurt.de.

.. Any sections to be included in the Documentation dropdown menu have to be in the toctree

Expand All @@ -60,4 +64,5 @@ For general inquiries please contact syncopy (at) esi-frankfurt.de.
user/fieldtrip.rst
user/data.rst
user/user_api.rst
developer/developers.rst
tutorials/fooof.rst
developer/developers.rst
Binary file added doc/source/_static/fooof_out_aperiodic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/source/_static/fooof_out_first_try.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/source/_static/fooof_out_tuned.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/source/_static/fooof_signal_spectrum.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/source/_static/fooof_signal_time.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def setup(app):
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None
language = 'en'

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
Expand Down
Loading