Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Commit db218ef

Browse files
author
Weina Ji
committed
generate docstrings
1 parent ea39c7f commit db218ef

File tree

2 files changed

+22
-24
lines changed

2 files changed

+22
-24
lines changed

include/bbp/sonata/config.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ class SONATA_API SimulationConfig
368368
mechanisms;
369369
/// List of modifications that mimics experimental manipulations to the circuit.
370370
std::vector<Modification> modifications;
371-
// Method to return the full list of modifications in the Conditions section
371+
/// Method to return the full list of modifications in the Conditions section.
372372
const std::vector<Modification>& getModifications() const noexcept;
373373
};
374374
/**

python/generated/docstrings.h

+21-23
Original file line numberDiff line numberDiff line change
@@ -713,22 +713,18 @@ R"doc(Extracellular calcium concentration, being applied to the synapse
713713
uHill parameter in order to scale the U parameter of synapses. Default
714714
is None.)doc";
715715

716-
static const char *__doc_bbp_sonata_SimulationConfig_Conditions_getModification =
717-
R"doc(Returns the given modification parameters
718-
719-
Throws:
720-
SonataError if the given modification name does not exist)doc";
721-
722-
static const char *__doc_bbp_sonata_SimulationConfig_Conditions_listModificationNames = R"doc(Returns the names of the modifications)doc";
716+
static const char *__doc_bbp_sonata_SimulationConfig_Conditions_getModifications =
717+
R"doc(Method to return the full list of modifications in the Conditions
718+
section.)doc";
723719

724720
static const char *__doc_bbp_sonata_SimulationConfig_Conditions_mechanisms =
725721
R"doc(Properties to assign values to variables in synapse MOD files. The
726722
format is a dictionary with keys being the SUFFIX names and values
727723
being dictionaries of variables' names and values.)doc";
728724

729725
static const char *__doc_bbp_sonata_SimulationConfig_Conditions_modifications =
730-
R"doc(Collection of dictionaries with each member decribing a modification
731-
that mimics experimental manipulations to the circuit.)doc";
726+
R"doc(List of modifications that mimics experimental manipulations to the
727+
circuit.)doc";
732728

733729
static const char *__doc_bbp_sonata_SimulationConfig_Conditions_randomizeGabaRiseTime =
734730
R"doc(Enable legacy behavior to randomize the GABA_A rise time in the helper
@@ -794,14 +790,14 @@ static const char *__doc_bbp_sonata_SimulationConfig_InputAbsoluteShotNoise_rand
794790
R"doc(Override the random seed to introduce correlations between cells,
795791
default = None)doc";
796792

793+
static const char *__doc_bbp_sonata_SimulationConfig_InputAbsoluteShotNoise_representsPhysicalElectrode = R"doc(Whether this input represents a physical electrode. Default is false)doc";
794+
797795
static const char *__doc_bbp_sonata_SimulationConfig_InputAbsoluteShotNoise_reversal = R"doc(Reversal potential for conductance injection in mV. Default is 0)doc";
798796

799797
static const char *__doc_bbp_sonata_SimulationConfig_InputAbsoluteShotNoise_riseTime = R"doc(The rise time of the bi-exponential shots (ms))doc";
800798

801799
static const char *__doc_bbp_sonata_SimulationConfig_InputAbsoluteShotNoise_sigma = R"doc(signal std dev in nA (current_clamp) or uS (conductance).)doc";
802800

803-
static const char *__doc_bbp_sonata_SimulationConfig_InputAbsoluteShotNoise_representsPhysicalElectrode = R"doc(Whether this input represents a physical electrode. Default is false)doc";
804-
805801
static const char *__doc_bbp_sonata_SimulationConfig_InputBase = R"doc()doc";
806802

807803
static const char *__doc_bbp_sonata_SimulationConfig_InputBase_InputType = R"doc()doc";
@@ -878,12 +874,12 @@ static const char *__doc_bbp_sonata_SimulationConfig_InputNoise_meanPercent =
878874
R"doc(The mean value of current to inject as a percentage of threshold
879875
current, default = None)doc";
880876

877+
static const char *__doc_bbp_sonata_SimulationConfig_InputNoise_representsPhysicalElectrode = R"doc(Whether this input represents a physical electrode. Default is false)doc";
878+
881879
static const char *__doc_bbp_sonata_SimulationConfig_InputNoise_variance =
882880
R"doc(State var to track whether the value of injected noise current is mean
883881
or mean_percent)doc";
884882

885-
static const char *__doc_bbp_sonata_SimulationConfig_InputNoise_representsPhysicalElectrode = R"doc(Whether this input represents a physical electrode. Default is false)doc";
886-
887883
static const char *__doc_bbp_sonata_SimulationConfig_InputOrnsteinUhlenbeck = R"doc()doc";
888884

889885
static const char *__doc_bbp_sonata_SimulationConfig_InputOrnsteinUhlenbeck_dt = R"doc(Timestep of generated signal in ms. Default is 0.25 ms)doc";
@@ -894,14 +890,14 @@ static const char *__doc_bbp_sonata_SimulationConfig_InputOrnsteinUhlenbeck_rand
894890
R"doc(Override the random seed to introduce correlations between cells,
895891
default = None)doc";
896892

893+
static const char *__doc_bbp_sonata_SimulationConfig_InputOrnsteinUhlenbeck_representsPhysicalElectrode = R"doc(Whether this input represents a physical electrode. Default is false)doc";
894+
897895
static const char *__doc_bbp_sonata_SimulationConfig_InputOrnsteinUhlenbeck_reversal = R"doc(Reversal potential for conductance injection in mV. Default is 0)doc";
898896

899897
static const char *__doc_bbp_sonata_SimulationConfig_InputOrnsteinUhlenbeck_sigma = R"doc(Signal std dev in nA (current_clamp) or uS (conductance))doc";
900898

901899
static const char *__doc_bbp_sonata_SimulationConfig_InputOrnsteinUhlenbeck_tau = R"doc(Relaxation time constant in ms)doc";
902900

903-
static const char *__doc_bbp_sonata_SimulationConfig_InputOrnsteinUhlenbeck_representsPhysicalElectrode = R"doc(Whether this input represents a physical electrode. Default is false)doc";
904-
905901
static const char *__doc_bbp_sonata_SimulationConfig_InputPulse = R"doc()doc";
906902

907903
static const char *__doc_bbp_sonata_SimulationConfig_InputPulse_ampEnd = R"doc(The final current when a stimulus concludes (nA))doc";
@@ -910,10 +906,10 @@ static const char *__doc_bbp_sonata_SimulationConfig_InputPulse_ampStart = R"doc
910906

911907
static const char *__doc_bbp_sonata_SimulationConfig_InputPulse_frequency = R"doc(The frequency of pulse trains (Hz))doc";
912908

913-
static const char *__doc_bbp_sonata_SimulationConfig_InputPulse_width = R"doc(The length of time each pulse lasts (ms))doc";
914-
915909
static const char *__doc_bbp_sonata_SimulationConfig_InputPulse_representsPhysicalElectrode = R"doc(Whether this input represents a physical electrode. Default is false)doc";
916910

911+
static const char *__doc_bbp_sonata_SimulationConfig_InputPulse_width = R"doc(The length of time each pulse lasts (ms))doc";
912+
917913
static const char *__doc_bbp_sonata_SimulationConfig_InputRelativeLinear = R"doc()doc";
918914

919915
static const char *__doc_bbp_sonata_SimulationConfig_InputRelativeLinear_percentEnd = R"doc(The percentage of a cell's threshold current to inject at the end)doc";
@@ -934,6 +930,8 @@ static const char *__doc_bbp_sonata_SimulationConfig_InputRelativeOrnsteinUhlenb
934930
R"doc(Override the random seed to introduce correlations between cells,
935931
default = None)doc";
936932

933+
static const char *__doc_bbp_sonata_SimulationConfig_InputRelativeOrnsteinUhlenbeck_representsPhysicalElectrode = R"doc(Whether this input represents a physical electrode. Default is false)doc";
934+
937935
static const char *__doc_bbp_sonata_SimulationConfig_InputRelativeOrnsteinUhlenbeck_reversal = R"doc(Reversal potential for conductance injection in mV. Default is 0)doc";
938936

939937
static const char *__doc_bbp_sonata_SimulationConfig_InputRelativeOrnsteinUhlenbeck_sdPercent =
@@ -942,8 +940,6 @@ R"doc(Signal std dev as percentage of a cell’s threshold current
942940

943941
static const char *__doc_bbp_sonata_SimulationConfig_InputRelativeOrnsteinUhlenbeck_tau = R"doc(Relaxation time constant in ms)doc";
944942

945-
static const char *__doc_bbp_sonata_SimulationConfig_InputRelativeOrnsteinUhlenbeck_representsPhysicalElectrode = R"doc(Whether this input represents a physical electrode. Default is false)doc";
946-
947943
static const char *__doc_bbp_sonata_SimulationConfig_InputRelativeShotNoise = R"doc()doc";
948944

949945
static const char *__doc_bbp_sonata_SimulationConfig_InputRelativeShotNoise_ampCv = R"doc(The coefficient of variation (sd/mean) of gamma-distributed amplitudes)doc";
@@ -960,6 +956,8 @@ static const char *__doc_bbp_sonata_SimulationConfig_InputRelativeShotNoise_rand
960956
R"doc(Override the random seed to introduce correlations between cells,
961957
default = None)doc";
962958

959+
static const char *__doc_bbp_sonata_SimulationConfig_InputRelativeShotNoise_representsPhysicalElectrode = R"doc(Whether this input represents a physical electrode. Default is false)doc";
960+
963961
static const char *__doc_bbp_sonata_SimulationConfig_InputRelativeShotNoise_reversal = R"doc(Reversal potential for conductance injection in mV. Default is 0)doc";
964962

965963
static const char *__doc_bbp_sonata_SimulationConfig_InputRelativeShotNoise_riseTime = R"doc(The rise time of the bi-exponential shots (ms))doc";
@@ -968,8 +966,6 @@ static const char *__doc_bbp_sonata_SimulationConfig_InputRelativeShotNoise_sdPe
968966
R"doc(signal std dev as percentage of a cell’s threshold current
969967
(current_clamp) or inverse input resistance (conductance).)doc";
970968

971-
static const char *__doc_bbp_sonata_SimulationConfig_InputRelativeShotNoise_representsPhysicalElectrode = R"doc(Whether this input represents a physical electrode. Default is false)doc";
972-
973969
static const char *__doc_bbp_sonata_SimulationConfig_InputSeclamp = R"doc()doc";
974970

975971
static const char *__doc_bbp_sonata_SimulationConfig_InputSeclamp_seriesResistance = R"doc(The series resistance (Mohm), default is 0.01 Mohm)doc";
@@ -996,12 +992,12 @@ default = None)doc";
996992

997993
static const char *__doc_bbp_sonata_SimulationConfig_InputShotNoise_rate = R"doc(Rate of Poisson events (Hz))doc";
998994

995+
static const char *__doc_bbp_sonata_SimulationConfig_InputShotNoise_representsPhysicalElectrode = R"doc(Whether this input represents a physical electrode. Default is false)doc";
996+
999997
static const char *__doc_bbp_sonata_SimulationConfig_InputShotNoise_reversal = R"doc(Reversal potential for conductance injection in mV. Default is 0)doc";
1000998

1001999
static const char *__doc_bbp_sonata_SimulationConfig_InputShotNoise_riseTime = R"doc(The rise time of the bi-exponential shots (ms))doc";
10021000

1003-
static const char *__doc_bbp_sonata_SimulationConfig_InputShotNoise_representsPhysicalElectrode = R"doc(Whether this input represents a physical electrode. Default is false)doc";
1004-
10051001
static const char *__doc_bbp_sonata_SimulationConfig_InputSubthreshold = R"doc()doc";
10061002

10071003
static const char *__doc_bbp_sonata_SimulationConfig_InputSubthreshold_percentLess = R"doc(A percentage adjusted from 100 of a cell's threshold current)doc";
@@ -1024,6 +1020,8 @@ static const char *__doc_bbp_sonata_SimulationConfig_ModificationBase_Modificati
10241020

10251021
static const char *__doc_bbp_sonata_SimulationConfig_ModificationBase_ModificationType_invalid = R"doc()doc";
10261022

1023+
static const char *__doc_bbp_sonata_SimulationConfig_ModificationBase_name = R"doc(Name of the modification setting.)doc";
1024+
10271025
static const char *__doc_bbp_sonata_SimulationConfig_ModificationBase_nodeSet = R"doc(Node set which receives the manipulation)doc";
10281026

10291027
static const char *__doc_bbp_sonata_SimulationConfig_ModificationBase_type =

0 commit comments

Comments
 (0)