Package org.neuroml.model.util.hdf5
Class NetworkHelper
java.lang.Object
org.neuroml.model.util.hdf5.NetworkHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetConnection
(String projectionId, int index) getLocation
(String populationId, int index, boolean failIfNonSpatialPop) int
getNumberConnections
(String projectionId) getPopulationComponent
(String populationId) int
getPopulationSize
(String populationId) getPopulationType
(String populationId) static void
boolean
populationHasPositions
(String populationId) void
setNeuroMLDocument
(NeuroMLDocument neuroMLDocument) protected void
setPopulationArray
(Population emptyPopulation, HashMap<String, Integer> columns, float[][] data) protected void
setProjectionArray
(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
-