# Synapses

## Visualization

Synapses are visualized as balls in the 3D window with different colors to distinguish pre-synaptic elements (TBars) and post-synaptic elements (PSDs).

![Synapse Visualization in 3D](https://2926737796-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ld57Fj27nUB-NnjPb7c%2F-LnEnpgfNlv1FpYVnA66%2F-LnEo-ZN2sfGVJ4sZ95O%2Fimage.png?alt=media\&token=5199c579-a480-4d8c-9dfe-da0ac6dc1077)

We can adjust synapse visualization in the control panel.

![Object Panel (Named Puncta) for Synapses](https://2926737796-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ld57Fj27nUB-NnjPb7c%2F-LnEo6jiynGE02jQpQE7%2F-LnEoNt_vDYz549qlKes%2Fimage.png?alt=media\&token=755ffabe-f9cb-4faf-be51-433d510d0925)

![Visualization Settings for Synapses](https://2926737796-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ld57Fj27nUB-NnjPb7c%2F-LnEo6jiynGE02jQpQE7%2F-LnEqd3IGFLINKSv4WuD%2Fimage.png?alt=media\&token=9d6c4a1f-b7ac-4a9a-9450-9b254cd58097)

In the `Original Point Color` color mode, which is the default option, you can change the color of selected synapses&#x20;

![Change Color of Selected Puncta](https://2926737796-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ld57Fj27nUB-NnjPb7c%2F-LnINdLuXSOS5rnw9O3H%2F-LnIP95OP4ztzc67okAe%2Fimage.png?alt=media\&token=65310380-94bf-4d88-93d6-9179d42aeceb)

## Synapse Selection

You can select synapses with certain connections by specifying the connection patterns.

![](https://2926737796-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ld57Fj27nUB-NnjPb7c%2F-LnEry2gwFkJLYP8-Q-j%2F-LnEsNaX8hJ62V1PIigu%2Fimage.png?alt=media\&token=febf7e97-8753-4411-8880-83fe00b1c7d2)

{% hint style="info" %}
Input format:

Selecting TBars from `body_id_1` connecting to `body_id_2`: \
`body_id_1 -> body_id_2`

Selecting PSDs from `body_id_1` receiving inputs from `body_id_2`: `body_id_1 <- body_id_2`
{% endhint %}

Together with the color changing function, you can colorize specific connections more conveniently than before.

To certain selections only, you can hide all synapses first, and then use `Add Puncta Selection` to select the synapses you want to see. Once the selection is issued, you can use `Show Selected Puncta` in the context menu to bring back selected puncta only.

![Show Selected Puncta](https://2926737796-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ld57Fj27nUB-NnjPb7c%2F-LtXcvr3zxkPFPTlQvkB%2F-LtXdhK67UZ0qdUex9Bk%2Fimage.png?alt=media\&token=ce171ab1-412e-4f10-82d0-50c8b57e33fe)
