Package org.neuroml.model.util.hdf5
Class NetworkHelper
java.lang.Object
org.neuroml.model.util.hdf5.NetworkHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetConnection(String projectionId, int index) getLocation(String populationId, int index, boolean failIfNonSpatialPop) intgetNumberConnections(String projectionId) getPopulationComponent(String populationId) intgetPopulationSize(String populationId) getPopulationType(String populationId) static voidbooleanpopulationHasPositions(String populationId) voidsetNeuroMLDocument(NeuroMLDocument neuroMLDocument) protected voidsetPopulationArray(Population emptyPopulation, HashMap<String, Integer> columns, float[][] data) protected voidsetProjectionArray(BaseProjection emptyProjection, HashMap<String, Integer> columns, float[][] data) toString()
-
Constructor Details
-
NetworkHelper
public NetworkHelper() -
NetworkHelper
-
-
Method Details
-
getNeuroMLDocument
-
setNeuroMLDocument
-
setPopulationArray
protected void setPopulationArray(Population emptyPopulation, HashMap<String, Integer> columns, float[][] data) -
setProjectionArray
protected void setProjectionArray(BaseProjection emptyProjection, HashMap<String, Integer> columns, float[][] data) -
getPopulationIds
-
getPopulationComponent
- Throws:
NeuroMLException
-
populationHasPositions
- Throws:
NeuroMLException
-
getPopulationType
- Throws:
NeuroMLException
-
getPopulationSize
- Throws:
NeuroMLException
-
getLocation
public Location getLocation(String populationId, int index, boolean failIfNonSpatialPop) throws NeuroMLException - Throws:
NeuroMLException
-
getProjectionIds
-
getNumberConnections
- Throws:
NeuroMLException
-
getConnection
public BaseConnectionOldFormat getConnection(String projectionId, int index) throws NeuroMLException - Throws:
NeuroMLException
-
toString
-
main
-