Skip to content

catalystneuro/ndx-spectrum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ndx-spectrum Extension for NWB:N

PyPI version

Python Installation

Python Usage

Python Installation

pip install ndx-spectrum

Python Usage

from ndx_spectrum import Spectrum
from datetime import datetime
from pynwb import NWBFile

nwb = NWBFile('session_description', 'identifier', datetime.now().astimezone())

spectrum = Spectrum('test_spectrum', frequencies=[1.,2.,3.], power=[1.,2.,3.],
                    phase=[1.,2.,3.])