public class ReadNWBFile
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private GeppettoModelAccess |
commonLibraryAccess |
private boolean |
fileOpened |
private GeppettoLibrary |
library |
private int |
numberOfRecordings |
private CompositeType |
nwbModelType |
Constructor and Description |
---|
ReadNWBFile() |
Modifier and Type | Method and Description |
---|---|
void |
closeNWBFile(H5File nwbFile) |
private Variable |
createTextVariable(java.lang.String name,
java.lang.String value,
java.lang.String id) |
private static java.lang.String |
getAttribute(H5File nwbFile,
java.lang.String path,
java.lang.String attributeName) |
void |
getInitialData(H5File nwbFile) |
void |
getNWBMetadata(H5File nwbFile,
java.lang.String path) |
void |
getNWBMetadataHelper(H5File nwbFile,
java.lang.String path,
CompositeType nwbModelMetadataType) |
java.util.ArrayList<java.lang.Integer> |
getSweepNumbers(H5File nwbFile) |
TimeSeries |
getTimeSeriesData(H5File nwbFile,
java.lang.String path) |
private void |
getTimeSeriesVariable(java.lang.String name,
TimeSeries myTimeSeries) |
void |
openNWBFile(H5File nwbFile) |
void |
readNWBFile(H5File nwbFile,
java.lang.String path) |
java.lang.String |
readSingleDataField(H5File nwbFile,
java.lang.String path) |
void |
setParameters(CompositeType nwbModelType,
GeppettoLibrary library,
GeppettoModelAccess commonLibraryAccess) |
private boolean fileOpened
private int numberOfRecordings
private GeppettoLibrary library
private GeppettoModelAccess commonLibraryAccess
private CompositeType nwbModelType
public void openNWBFile(H5File nwbFile) throws GeppettoExecutionException
GeppettoExecutionException
public void closeNWBFile(H5File nwbFile) throws GeppettoExecutionException
GeppettoExecutionException
public void setParameters(CompositeType nwbModelType, GeppettoLibrary library, GeppettoModelAccess commonLibraryAccess)
private static java.lang.String getAttribute(H5File nwbFile, java.lang.String path, java.lang.String attributeName) throws GeppettoExecutionException
GeppettoExecutionException
private Variable createTextVariable(java.lang.String name, java.lang.String value, java.lang.String id) throws GeppettoVisitingException
GeppettoVisitingException
public void getNWBMetadataHelper(H5File nwbFile, java.lang.String path, CompositeType nwbModelMetadataType) throws java.lang.OutOfMemoryError, java.lang.Exception
java.lang.OutOfMemoryError
java.lang.Exception
public void getNWBMetadata(H5File nwbFile, java.lang.String path) throws GeppettoExecutionException
GeppettoExecutionException
public java.lang.String readSingleDataField(H5File nwbFile, java.lang.String path)
public void getInitialData(H5File nwbFile) throws GeppettoExecutionException
GeppettoExecutionException
public java.util.ArrayList<java.lang.Integer> getSweepNumbers(H5File nwbFile) throws GeppettoExecutionException
GeppettoExecutionException
private void getTimeSeriesVariable(java.lang.String name, TimeSeries myTimeSeries) throws GeppettoVisitingException
GeppettoVisitingException
public TimeSeries getTimeSeriesData(H5File nwbFile, java.lang.String path) throws GeppettoExecutionException
GeppettoExecutionException
public void readNWBFile(H5File nwbFile, java.lang.String path) throws GeppettoExecutionException
GeppettoExecutionException