Skip to content
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

ZMT zurich med tech

  1. Home
  2. Sim4Life
  3. Simulations & Solvers
  4. T-Neuro
  5. HOC file support

HOC file support

Scheduled Pinned Locked Moved T-Neuro
5 Posts 3 Posters 692 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JKM
    wrote on last edited by
    #1

    Hello,

    What would be the general steps to have Sim4Life work with hoc files not already built into the distribution? For a simple starting example, if I wanted to have a single passive compartment located at a point, how would I prepare and pair the hoc file to Sim4Life for use? Is there any formatting considerations to extend on that for a passive fiber?
    Thank you for the guidance

    1 Reply Last reply
    0
    • L Offline
      L Offline
      LJ
      wrote on last edited by
      #2

      Hi, Have you found a way to do this? I have added a new Hoc setting in the neuron simulation but it is not allowing me to input any nerve trajectories. I am not sure why that is the case.

      1 Reply Last reply
      0
      • J Offline
        J Offline
        JKM
        wrote on last edited by
        #3

        No, I have not found out how to do this yet

        1 Reply Last reply
        0
        • H Offline
          H Offline
          Habib
          ZMT
          wrote on last edited by
          #4

          Hello, did you try to follow the (brief) description in the documentation? There are some HOC functions (run(), finitialize(), fcurrents(), etc.) that have to be disabled/removed from the HOC code file, and then the model has to be compiled using a native version of NEURON (not in Sim4Life) in order to create the mechanism files. The mechanisms have to be compiled with the correct version and build of NEURON compatible with the version of Sim4Life you are using. The correct version is indicated in the corresponding documentation.

          After those steps, the model can be imported into Sim4Life and used in a simulation.

          1 Reply Last reply
          0
          • L Offline
            L Offline
            LJ
            wrote on last edited by
            #5

            Hi @Habib -thank you! that makes sense. I think I missed that bit of the documentation. I thought section 2.12.1.5.1 is all the documentation available but now I found what you're talking about. I will give this a go- thanks again.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Search