Skip to content

insilico 0.25

Latest
Compare
Choose a tag to compare
@pranavcode pranavcode released this 06 May 06:53
· 32 commits to master since this release

This is a minor release with new feature, efficiency improvements. This release also includes some bug fixes.

New Features

  • Dynamic parameters
    • insilico was missing time dependent parameters as input.
      The way it was handled previously by simulation programmer, was by manipulating parameter values inside the code with time comparison. To ease this efforts by providing it as external file during execution this feature is introduced in this version.
    • Use -d as option to supply this file.
    • For using this feature, include insilico/core/dynamic_params.hpp.
    • Function for using this dynamic params from input file has following declaration
    • double dynamic_params::value(const std::string& param_name, const double time);
    • This function returns double value for parameter param_name at time time.

Enhancements

  • Efficiency pack - these functions are more efficient: injector, neuron_id_from_index, synapse_id_from_index, variable_name_from_index
  • New example SingleNeuron_HH1952_Stochastic added to demonstrate stochastic integration possibility

Bug Fixes

  • neuron_id_from_index and synapse_id_from_index computes correct IDs
  • Observer header is proper, even if parameters and variables are observed out-of-order