Code Monkey home page Code Monkey logo

channelopathy's Introduction

Channelopathies_2024

Channelopathies Project - M1 model with detailed PT5B cell to model channelopathies.

First Step: Go to the folder /sim and write nrnivmodl ../mod to compile the mod files so simulations can run directly from that folder.
Second Step: Now you are able to run the sims!
Some important caveats:
1. In cfg.py we have a variable cfg.UCDAVIS = False. This variable allow us to switch between the UCDavis PT model and the model from the M1 original network. The way it is implemented right now (because of lack of time) is that they both load the same weight normalization file. Thus, if you switch between the two models, that should be taken into account. Everything is calibrated for the original PT cell, if you wish to use the new one, you have to run the weight normalization protocol.
2. The other important parameter is PTNaFactor which multiplies the sodium conductance in the entire cell, to model the loss of sodium channels in the mutated PT cell. Thus, we use PTNaFactor=1 for the original cell and PTNaFactor=0.5 for the mutated.
3. In the batch script, the simulations that is running is the custom(), with the grid search for the parameters of interest. You need to adapt the setRunCfg() function (it is located almost at the end of the file) to your interest. Specially the name of the log file. And if you want to run another of the options, for example mpi_direct or bulletin, check that the script file used is init.py and not a different one.

channelopathy's People

Contributors

romanb22 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.