Skip to content

Update fork - #1

Merged
cbaldassano merged 26 commits into
cbaldassano:masterfrom
brainiak:master
Jan 9, 2020
Merged

cbaldassano merged 26 commits into
cbaldassano:masterfrom
brainiak:master

Conversation

@cbaldassano

Copy link
Copy Markdown
Owner

No description provided.

mihaic and others added 26 commits March 11, 2019 14:12
Workaround in PR #408 obsoleted by Theano 1.0.4.
* Tolerance for NaNs for ISC/ISFC, and tests

* Messing with NaN options in isfc

* Option to return NaNs in compute_correlation

* Moved NaN handling into _normalize_for_correlation

* NaN handling for ISFC and tests

* Reshaped ISFC output to n_subjects x n_voxel_pairs

* Fixed whitespace errors etc

* tolerate_nans in phaseshift_isc and timeshift_isc tests

* Added new function to squareform ISFCs and keep diagonal

* Replaced old p_from_null with new version

* Removed ISC test NIfTI data because we're simulating

* Moved phase randomization in phaseshift_isc to utils

* Removed vestigial ecdf from utils and tests

* Moved _check_timeseries_input to utils to fix dependencies

* Fixing duplicate references

* isfc can now take 'targets' as input (asymmetric)

* Fixed up 'targets' for ISFCs, added tests

* Increasing some bits of code coverage

* Modified exception tests to use shmancy pytest.raises

* Added news items for issues and PR

* Updated NEWS directly for outdated PR #384
Mypy dropped support for Python 3.4 in version 0.700. Technically, we
could separate the Python version in developer requirements from the
Python version in user requirements (where Mypy is not a dependency),
but I think that would complicate our setup too much.

Also switch to Ubuntu 16.04 for Travis testing, since support for 14.04
ends in April 2019.
It will be added to the next release where it belongs, not v0.8.
In PR #405, I mistakenly suggested editing NEWS directly.
* Added matrix multiplication to ISC, rather than the looping through voxels. From testing it provides between x5 and x10 speed up. No changes were made to the pairwise analysis because I wasn't sure how to deal with that. A test was also added for the newly added _corr_mat function

* PEP8 errors (still can't use run_checks myself)

* PEP8 errors (still can't use run_checks myself)

* PEP8 errors (still can't use run_checks myself)

* PEP8 errors (still can't use run_checks myself)

* PEP8 errors (still can't use run_checks myself)

* PEP8 errors (still can't use run_checks myself)

* New array_correlation function in utils

* Reworked ISC code optimized for speed (still needs tests)

* Oops committed wrong isc.py file, now correct

* Added tests for utils.array_correlation, fixed PEP8 errors
Pin SciPy <1.3.0 as workaround for Pymanopt. See:
pymanopt/pymanopt#77

Require MPI4PY>=3 to fix Conda on MacOS. See:
https://travis-ci.org/brainiak/brainiak/jobs/545838666

Also, remove dependency on Typing, which is included in the Python
standard library starting with version 3.5, which is now the minimum
version we require.
Move to Ubuntu 18.04 for Python 3.6, required for tutorials.
Fix pytest.raises message deprecation. See:
https://docs.pytest.org/en/4.6-maintenance/deprecations.html#message-parameter-of-pytest-raises

Pin NumPy <1.17 as workaround for random bug:
numpy/numpy#14189

Pin SciPy in Jenkins customization.

Set MacOS SDK path for conda-build.

Update minimum MacOS version to 10.9.

Test all branches.

Use default Xcode in Travis.
* updated citation in brsa module and made some changes in response to warnings during test

* attempting to fix an error about citation not referenced
Overlooked when pinning NumPy in PR #430.
Also pin TensorFlow < 2 in Jenkins as workaround for Pymanopt incompatibility.
Added a `reconstruct` package and an implementation of the inverted encoding model (IEM) in 1D circular stimulus space. It handles both a fully circular space (e.g., motion direction) and a semi-circular space (e.g., orientation).

Also added circular distance computations and synthetic data generation for 1D receptive fields to `utils`.
With our current workflow, we are not crediting all authors. See for
example PR #364, where Vy Vo is not credited.
Required by a change in Setuptools 42. See also:
astropy/astropy-helpers#501
See issue #448.

Also, pin NumPy in `setup_requires` in addition to `install_requires`.

Also add explicit MPICH dependency for Jenkins, required for compatibility with our testing infrastructure.
* Removed print statement

* Update to how drift is calculated and used. The new default for drift drops off power on the basis functions systematically. Drift is also scaled separately from the brain noise since that scale is based on a detrended version of drift

* Update to how drift is calculated and used. The new default for drift drops off power on the basis functions systematically. Drift is also scaled separately from the brain noise since that scale is based on a detrended version of drift

* Fixed a math error and made the simulated drift include the 1% of power out of range

* Add command explicitly calling cos_power_drop

* Remove warning for short runs since this does not apply to this basis function

* Remove warning for short runs since this does not apply to this basis function

* Update for MCI's comments

* Update for MCI's comments

* Added more detail to the power drop doc string

* Change the maximum frequency to be equivalent to the TR number

* Make power drop unitless and add documentation. Also add test for period length check

* Fix pep8 issue

* Fix pep8 issue

* Update of scikit-learn to 0.22 changed how randomizer worked, rendering this wrong. Dropped hard coding but maintained spirit of the test

* Revert test

* Finish reverting test_mvpa_voxel_selection
@cbaldassano
cbaldassano merged commit 635355b into cbaldassano:master Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants