Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analytic solution for tapered cable #42

Closed
halfflat opened this issue Oct 27, 2016 · 4 comments
Closed

Analytic solution for tapered cable #42

halfflat opened this issue Oct 27, 2016 · 4 comments
Assignees

Comments

@halfflat
Copy link
Contributor

Better to use an analytic (series) solution for a tapered cable-only model in validation testing, than asking NEURON to generate data for this case.

  • Do the maths: extended analytic result to tapered (i.e. linearly varying resistance) cable model.
  • Implement the model in e.g. Julia
  • Use this model to generate reference data for a Rallpack1-analagous tapered cable model.
@halfflat halfflat self-assigned this Oct 27, 2016
@halfflat
Copy link
Contributor Author

halfflat commented Jan 22, 2019

Turns out the maths is a bit hard!

Will come back to this, but for a truncated tapered cable with a current injection at the thick end, the underlying PDE we need to solve is the following, for g(x,t), x ∈ [a, b], t ≥ 0.

x·gxx + 2gx = gt + g,

subject to:

gx(a, t ) = 0, gx(b, t ) = -1 for t > 0,
g(x, 0) = 0.

noraabiakar pushed a commit to noraabiakar/arbor that referenced this issue Nov 26, 2019
Path to validation output can be customized via an environment variable
NS_VALIDATION_PATH_FORMAT which will substitute the following keys:

    %T    Timestamp of invocation of install-local.sh.
    %H    Git commit hash of nsuite (with + on end if modified).
    %h    Git commit short hash of nsuite (with + on end if modified).
    %S    System name, as defined in system environment script or else host name.
    %s    Simulator name.
    %m    Model name.
    %p    Parameter set name.

* Add git-repo-hash script to spit out short or long commit hashes.
* Add pathsub script to perform pattern replacement, optionally relative to a base directory.
* Record installation timestamp and system name in generated environments.
* Export ns_ path variables, together with ns_timestamp and ns_sysname, in generated environments.
* Set validation output path template via  --output/-o option in run-validation.sh, via exported environment variable ns_validation_output_format.
@halfflat
Copy link
Contributor Author

Update: this is partly resolved by #842, but we don't yet have code that reproduces the analytic time-varying solution.

@halfflat
Copy link
Contributor Author

halfflat commented Feb 4, 2021

This should be now a validation feature for nsuite; we can close this ticket and refer to it over there.

@halfflat
Copy link
Contributor Author

halfflat commented Feb 5, 2021

Corresponding validation test is now an nsuite issue, #110.

@halfflat halfflat closed this as completed Feb 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant