ashapsoncoe / CREST

Connectome Reconstruction and Exploration Simple Tool
15 stars 5 forks source link

Synapse strength #8

Open ssapir opened 4 months ago

ssapir commented 4 months ago

Thank you for the great work and accessed sql db.

In this code: https://github.com/ashapsoncoe/h01/blob/db223b8d769d8ae046f0026f12b251103f1dbab0/common_functions_h01.py#L1563 XYZ are the centroid from syn_db_name table. I assume this is equiv. the xyz for individual_synapses table.

Is there a way to map synapse to gs://h01-release/data/20210601/c3/synapses/incoming_excitatory/meshes? What is the mesh ID in this case? (in the CRESR sql the id looks like the cell id, if I understand correctly). I want to add synapse estimated strength from the PSD.

Thank you

ashapsoncoe commented 3 months ago

Hi, the function you highlight will return the incoming or outgoing synapses for a cell. The synapse xyz co-orinates will be returned in 1nm 1nm 1nm co-ordinates.

If you wish to simply get the synapse esimated strength from the psds for a set of synapses for a cell, I think it may be easier for you to just work from the meshes dataset (gs://h01-release/data/20210601/c3/synapses/incoming_excitatory/meshes) and not have to map between the two datasets.

What other information do you need?