SimInspector

class managers.operatorsSimaudit.inspector.SimInspector

Available methods:

Method name
Method type
static method
check_compatibility() static method

NOTE:

  • inspect_compiled_nmodl prints “compiled files already exists” or Nil
  • check_compatibility return AttributeError if capabilities (model vs vtest) are not compatible otherwise nothing is returned.
static check_compatibility(capability_name=None, CerebUnit_capability=None)

If model capability is known to be consistent with cerebunit module this module is not necessary to run.

Keyword arguments:

Keys Value type
capability_name string; eg., “produce_spike_train”
CerebUnit_capability imported class; eg., ProducesSpikeTrain

Returned values: Nothing is returned

static lock_and_load_nmodl(modelscale=None, modelname=None)

Checks for the compiled libnrnmech.so.0 file or else generates it.

Keyword arguments:

Keys Value type
modelscale string; egs. “cells”, “microcircuits”, “networks”
modelname string; “XY2000Author”

Returned value:

  • prints "compiled files already exists" or else
  • Nil, it just generates the libnrnmech.so.0