brainets / hoi

Higher-Order Interactions
https://brainets.github.io/hoi/
BSD 3-Clause "New" or "Revised" License
18 stars 7 forks source link

#2 removed neuro oreintation and frites dependency #4

Closed Dishie2498 closed 1 year ago

Dishie2498 commented 1 year ago

Added modules core and metrics - generalised functions for perspectives outside of neuroscience

EtienneCmb commented 1 year ago

Thanks @Dishie2498, great work !

Could please add the following :

core/it.py

Copnorm functions are related to information theoretical measures. Let's cut ctransform, copnorm_1d and copnorm_nd from the oinfo file to it.py

metrics/oinfo_zerolag.py

core/init.py

Import functions :

from .combinatory  import combinations  # noqa
from .it import ent_g,  copnorm_1d, copnorm_nd  # noqa

metrics/init.py

from .oinfo_zerolag import oinfo_zerolag  # noqa
EtienneCmb commented 1 year ago

Thank you @Dishie2498 , great work, the code is much easier to read now !