What I'm struggling with is to bring a Neurolucida text file from the original blue brain project "L1_DAC_bNAC219_1" source files into my customized project.
The below is my custom code for testing the import of text file.
Code: Select all
load_file("nrngui.hoc") load_file("import3d.hoc") objref this objref nl,import objref s nl = new Import3d_Neurolucida3() nl.quiet = 1 nl.input("C:/L1_DAC_bNAC219_1/morphology/sm090918b1-3_idA_-_Scale_x1.000_y1.025_z1.000.asc") import = new Import3d_GUI(nl, 0) import.instantiate(this) s = new Shape()
However, the generated morphology is quite different from the original morphology that can be shown from running the original source files.
The below link shows the original morphology. (*Sorry for hyperlinking the image. I'm not really good at bbcode.)
https://drive.google.com/file/d/1CkhGAX ... sp=sharing
And the following link shows the image generated from the above code.
https://drive.google.com/file/d/1PcVng_ ... sp=sharing
As you can see, my imported morphology has so many unnecessary branches.
Even, I also tried to use import3D through "nrngui" itself, and the result was the same as my custom code.
(the process was nrngui -> Tool -> Miscellaneous -> Import3D)
https://drive.google.com/file/d/1U8wR8R ... sp=sharing
Is there any idea which point I'm missing for the proper morphology import?
Thanks for all your interests and wish your healthy days!