8000 isc: `phaseshift_isc` overlaps with `brainiak.utils.phase_randomize` · Issue #396 · brainiak/brainiak · GitHub
[go: up one dir, main page]

Skip to content
8000

isc: phaseshift_isc overlaps with brainiak.utils.phase_randomize #396

Closed

Description

@mihaic

We should not have duplicate functionality.

Activity

  1. added this to the v0.9 milestone on Jan 11, 2019
  2. snastase commented on Mar 3, 2019

    @snastase
    Contributor

    These are not really functional duplicates. I think in theory what we want is (a) phaseshift_isc, which performs the nonparametric test using phase randomization and returns a null distribution, p-values, etc; and (b) a more generic phase_randomize utility that simply takes in time-series and phase-randomizes them. I think having this phase_randomize utility is useful even outside the context of ISC analysis. And ideally, the phaseshift_isc function should use the phase_randomize function internally. This was a little tricky because the pairwise and leave-one-out ISC approaches apply the phase randomization slightly differently, but should be work now—see #405 (commit dba670a). I've updated phaseshift_isc in isc, utils and tests to match.

  3. mihaic commented on Mar 27, 2019

    @mihaic
    MemberAuthor

    There's a way to close issues with commit messages such that it is clear they were fixed. I think we should use it in the future:
    https://help.github.com/articles/closing-issues-using-keywords/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    0