Reality Bending LabNews › NeuroKit2 0.1.5 'Complexity' is out 🎉

NeuroKit2 0.1.5 'Complexity' is out 🎉

2021-11-12 · Lab · Zen J. Lau

In the latest 0.1.5 release of NeuroKit2, our team has fixed several bugs in existing functionalities and, in particular, overhauled the support for computing complexity measures of neurophysiological signals. We added a ton of new indices of entropy and fractal dimensions, including:

You can compute them all using the new nk.complexity() function!

import neurokit2 as nk

signal = nk.signal_simulate(frequency=[5, 6], noise=0.5)

results, info = nk.complexity(signal, which="fast")
results
  DiffEn       FI    Hjorth       KFD  PEn  ...      PFD        RR       SFD
1.536573  0.01524  1.355543  4.720953  1.0  ... 1.017423  1.638357  1.691036

To understand more about complexity science, we recommend reading our preprint, which introduces the theoretical (and mathematical) meanings of complexity and reviews the existing studies of complexity analysis across multiple fields of psychology.

Of course, the NeuroKit2 Python package also includes tons of other useful features for physiological signal processing (see this quick example)!

Don't forget to watch our repo to keep a look out for more complexity functionalities coming up! 👀

Keep reading

Click to Open
Reality Bending Lab

Exploring the neuropsychology of reality and its distortions.

The Reality Bending Lab, led by Dominique Makowski at the University of Sussex in Brighton, UK, conducts world-leading research on reality perception, illusions, fake news, AI-beliefs, deception and its links with emotions, cognitive control and the Self. Using recording signals from the body (ECG, EDA…) and the brain (EEG), we analyse data using advanced modelling (Bayesian statistics, chaos theory, computational models) and develop open-source tools to improve neuropsychological science.

“Do not try to bend the spoon — that’s impossible. Instead, only try to realise the truth: there is no spoon. Then you'll see that it is not the spoon that bends, it is only yourself.”

People

Information

Where to find us

The Reality Bending Lab is based in the School of Psychology, at the University of Sussex in Brighton, UK.

Pevensey 1 - room 2B7, School of Psychology, University of Sussex, BN1 9QH

The University of Sussex campus in the South Downs University of Sussex crest

University of Sussex

Brighton is the sunniest city in the UK and, by some margin, its most cheerfully strange — on the sea, an hour from London. The University of Sussex sits just above it in the South Downs, and its School of Psychology is one of the largest and strongest in the country.

It is famous for its research on consciousness and interoception, with scientists like Anil Seth, Andy Clark, Zoltan Dienes and Hugo Critchley, its teaching of cutting-edge psychological methods (with stats rockstar Andy Field), its history of multidisciplinary research (arts and science), and its radical engagement in open and disruptive science.

Join this community

Hire us Join the Lab Like this website? See how to get yours