<p>If anyone has this issue when using the click train detector in PamGuard, it is quite easy and simple to troubleshoot it. In the Click Train Detector settings window go to ‘Detector Selector’ and enable ‘Automatically detected clicks trains’ and that will do. The click trains will be coloured (different colours for each click train), and you will be able to see the individual click trains detected by the algorithm. I attached the figure in case this might be helpful to anyone.</p>

CC BY-SA 4.0
2023-12-22T14:51:42.720Z
2023-12-22T14:51:42.720Z
Alex 
<p>I have just started to do some tests in the PamGuard Click Train Detector.
I ran some data from Riso’s dolphin that has a lot of click trains.
For starting, I kept the default configuration for dolphins  in:  Settings&gt;  Click Train Detector &gt;  Detection Settings &gt; Optimise for Species &gt; Dolphin
After running it , by right clicking in ‘Settings’ In the click detector display,  I chose  ‘Colour by Click Train (Click Trains)’.
As far as I have seen in tutorials each click train detected should be coloured with a different colour. But instead, I have got all click trains detected coloured in grey. Not sure why it did not show different colours as I suppose it should  and I don't know if the algorithm is working  properly in this case.
I am using the latest PG version (2.02.09 Core), here is a print of how the click detector display looks like:
<a href="https://i.sstatic.net/qdXfq.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/qdXfq.png" alt="enter image description here" /></a></p>
<p><a href="https://i.sstatic.net/DFCQI.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/DFCQI.png" alt="enter image description here" /></a></p>
<p><a href="https://i.sstatic.net/7qhM3.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/7qhM3.png" alt="enter image description here" /></a></p>

CC BY-SA 4.0
2023-12-12T20:34:58.327Z
what is your array settings and does it correspond to reality? I suspect that the TDOA estimation is not working, so clicktrains are not allocated
WMXZ
CC BY-SA 4.0
2023-12-13T22:44:37.483Z
Thanks for the reply.  I double checked the array configuration and it's correct. This array has a pair of high frequency hydrophones 1.01m apart. The bearings seem to make sense, typical from dolphins moving fast.  

It seems to me that click trains are allocated but instead of displaying different colours for each click train they are all coloured in grey.  When I enable the box for `Event click only`  the display shows only those grey colour clicks trains. I just added a new image to illustrate it.
Alex 
CC BY-SA 4.0
2023-12-14T19:00:08.367Z
Do the gray colored detections turn back to black if you turn off 'Color by click train'? If so then it seems like it is working partway, but just not the colors you want. You may need to go into the settings option of the right-clicked menu and see if you can color 'randomly' or something similar to that. That is an option for whistles and moans but I'm not as familiar with click trains
selene
CC BY-SA 4.0
2023-12-15T02:59:39.917Z
Thanks for the comment Selene.  I have tried looking for more settings after your suggestion.  I could not find settings for colouring like the whistle and moan detector, but I finally found the settings to do it.  It is quite easy and simple.  In the Click Train Detector settings window go to  ‘Detector Selector’  and enable  ‘Automatically detected  clicks trains’ and that will do. The click trains are now coloured,  and I can see the individual clicks trains detected by the algorithm.  I attached the figure in case this might be helpful to anyone.  Thanks anyway!
Alex 
CC BY-SA 4.0
2023-12-15T20:39:01.910Z
Great news! If you have a second, it would be great if you convert this comment into and Answer (you can answer your own question and accept it) which will allow others to find the fix more easily.
selene
CC BY-SA 4.0
2023-12-22T15:00:43.707Z
I have done it.  Cheers!
Alex 
<pamguard><echolocation-clicks>
PamGuard Click Train Detector is not colouring detected click trains
# PamGuard Click Train Detector is not colouring detected click trains

(Asked by: username_0 on 2023-12-12)

I have just started to do some tests in the PamGuard Click Train Detector.
I ran some data from Riso’s dolphin that has a lot of click trains.
For starting, I kept the default configuration for dolphins in: Settings> Click Train Detector > Detection Settings > Optimise for Species > Dolphin
After running it , by right clicking in ‘Settings’ In the click detector display, I chose ‘Colour by Click Train (Click Trains)’.
As far as I have seen in tutorials each click train detected should be coloured with a different colour. But instead, I have got all click trains detected coloured in grey. Not sure why it did not show different colours as I suppose it should and I don't know if the algorithm is working properly in this case.
I am using the latest PG version (2.02.09 Core), here is a print of how the click detector display looks like:
[![enter image description here](https://i.sstatic.net/qdXfq.png)](https://i.sstatic.net/qdXfq.png)

[![enter image description here](https://i.sstatic.net/DFCQI.png)](https://i.sstatic.net/DFCQI.png)

[![enter image description here](https://i.sstatic.net/7qhM3.png)](https://i.sstatic.net/7qhM3.png)

**Tags:** pamguard, echolocation-clicks

> **Comments:**
> **username_1**: what is your array settings and does it correspond to reality? I suspect that the TDOA estimation is not working, so clicktrains are not allocated  
> **username_0**: Thanks for the reply.  I double checked the array configuration and it's correct. This array has a pair of high frequency hydrophones 1.01m apart. The bearings seem to make sense, typical from dolphins moving fast.    It seems to me that click trains are allocated but instead of displaying different colours for each click train they are all coloured in grey.  When I enable the box for `Event click only`  the display shows only those grey colour clicks trains. I just added a new image to illustrate it.  
> **username_2**: Do the gray colored detections turn back to black if you turn off 'Color by click train'? If so then it seems like it is working partway, but just not the colors you want. You may need to go into the settings option of the right-clicked menu and see if you can color 'randomly' or something similar to that. That is an option for whistles and moans but I'm not as familiar with click trains  
> **username_0**: Thanks for the comment username_2.  I have tried looking for more settings after your suggestion.  I could not find settings for colouring like the whistle and moan detector, but I finally found the settings to do it.  It is quite easy and simple.  In the Click Train Detector settings window go to  ‘Detector Selector’  and enable  ‘Automatically detected  clicks trains’ and that will do. The click trains are now coloured,  and I can see the individual clicks trains detected by the algorithm.  I attached the figure in case this might be helpful to anyone.  Thanks anyway!  
> **username_2**: Great news! If you have a second, it would be great if you convert this comment into and Answer (you can answer your own question and accept it) which will allow others to find the fix more easily.  
> **username_0**: I have done it.  Cheers!  

---

## 1 answers

### Answer by username_0 on 2023-12-22. Score: 2 | Accepted answer

If anyone has this issue when using the click train detector in PamGuard, it is quite easy and simple to troubleshoot it. In the Click Train Detector settings window go to ‘Detector Selector’ and enable ‘Automatically detected clicks trains’ and that will do. The click trains will be coloured (different colours for each click train), and you will be able to see the individual click trains detected by the algorithm. I attached the figure in case this might be helpful to anyone.


---

