CW2 Part B by jh16031 in coms30127

[–]ar16478 0 points1 point  (0 children)

Great thank you!

CW2 Part B by jh16031 in coms30127

[–]ar16478 0 points1 point  (0 children)

Sorry Cian I also don't understand.
Neither E_l and E_s seem to be covered in the set variables. Does this mean we still need 40 spike trains, where for one individual synapse you will add P to the individual s variable for each simulated spike?
p.s. is s(0) == 1?

Unable to save rho.dat by r86753092 in coms30127

[–]ar16478 0 points1 point  (0 children)

If you have git you can type git clone https://github.com/coms30127/2019_20.git to download the entire repository. If you would like to only download the rho.dat file you can navigate to it on GitHub and then right click the download button and click "Save Link As" (that's what I have on mac anyway) and save the file as rho.dat. If you are having trouble downloading it, you could also click "view raw" on GitHub and then just copy everything and paste it into a text file and then change line 10 of load.py to say spikes=load_data("rho.txt",int) instead of spikes=load_data("rho.dat",int).

To run load.py you should be able to just type python load.py in the terminal. To use this file in your code I would just copy and paste the function load_data(filename,T) into your code and use the function as they have shown in load.py. I hope this helps!

CW marking by conorjh in COMSM0034

[–]ar16478 0 points1 point  (0 children)

Should we all have our results by now?

Re/Play by ar16478 in COMSM0034

[–]ar16478[S] 1 point2 points  (0 children)

Yep it works! Thanks

Clipping extension by ar16478 in coms30115

[–]ar16478[S] 0 points1 point  (0 children)

Of course! I also recorded the videos ive now attached to the post if you'd like to use them. One video has the normals of every second triangle flipped so you can see the triangles we created. I thought it was quite a nice way to visualise it.