Answers.Body: <p>As I understand it, PAMGuard's automatic click train identifier uses rate of change of click bearings as one of its parameters, so will require two or more channels of data.  And it doesn't tend to work very well when at low SNR - it breaks click trains into very short sequences.</p>
  <p>Instead, can you use a click classifier to separate a high proportion of Tursiops clicks from noise, e.g., using click length and energy band comparison?  If so, you could then display clicks classified as Tursiops, and perhaps include a second window to plot time vs ICI.  This won't automate click train extraction, but it may help you discriminate click trains during manual review of your data in the click detector displays.</p>
  <p><a href="https://i.sstatic.net/zRZEt.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/zRZEt.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.sstatic.net/craUP.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/craUP.png" alt="enter image description here" /></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-10-29T19:36:25.313Z
Answers.Text: Thank you very much, I was able to use the classifier to separate some Tursiops clicks from noise by comparing click length and energy band.
  I have also added a second window to plot time vs ICI but it doesn't show me anything in this window, what is the point of doing the latter?
Answers.UserDisplayName: Anaa
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-10-31T10:30:17.473Z
Answers.Text: Hi Anna - I find the time v ICI display helpful when identifying trains manually.  I've added a screenshot to illustrate how the ICI trends make contiguous trains stand out, in Viewer mode.  The example is a 1-ch file of harbour porpoise clicks.
Answers.UserDisplayName: ChrisP
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-10-31T10:30:40.560Z
Answers.Text: cont... If the display is blank, it's probably a problem with display settings - are you using Viewer or 'normal' mode?  In the example above, in Viewer, i linked the scrollers for the two displays, and set both to the same start time and duration.  Then ticked 'display ICI for unclassified' and log scale.  You should be able to display several minutes of data in the amplitude window but scroll through e.g. 1-min windows of ICI.
Answers.UserDisplayName: ChrisP
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-10-31T10:30:51.203Z
Answers.Text: cont...  If your question is about the relatively new Click Train Detector module rather than the Click Detector module..., then i'm probably not the best person to try and answer you, as i'm still struggling to understand its parameterisation myself.  This maybe something tha twill help you though, as it should be able to incorporate your classifier, and colour clicks by train on a 1-ch time v amplitude display, i think.
Answers.UserDisplayName: ChrisP
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-10-31T13:21:18.730Z
Answers.Text: After some experimentation - the Click Train Detector module (PAMGuard v2.02.x) did allow me to classify / colour click detections automatically as trains on the 1-ch click detector displays.  I imagine when scrolling through longer survey data, having clusters of delphinid clicks highlighted as click trains (as well as classified by type) will make them easier to identify.  They can be assigned to events directly from the ICI display (and as super-detections from a time-base FX display of ICIs).
Answers.UserDisplayName: ChrisP
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-10-31T19:31:21.050Z
Answers.Text: Hi Chris - I attached a picture of my new results. I'm in normal mode but I didn't have the proper display settings, now it works for me, thanks. In my case, the click train detector still does not detect anything... Also,as you can see in the image, the classifier does not show the clicks in the specified color for the symbol...
Answers.UserDisplayName: Anaa
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-01T15:06:20.500Z
Answers.Text: Hi Anaa - you might need to rt-click ICI display > more symbol options.  In the last screenshot RHS i have it coloured by click classification, and by click train (click trains).  On the LHS it is coloured by click classification, and event.  I don't find the symbol options intuitive to use at all, but here i ticked the options shown to overrule the default symbol shape / colour, and changed their order.
Answers.UserDisplayName: ChrisP
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-01T23:06:14.643Z
Answers.Text: Hi Chris - I did the same as you and I solved the part of colouring by click classification but when I tried to color the RHS using the click train (click trains) I didn't get the option to do so, maybe because my click train doesn't seem to detect anything... I am attaching new screenshots of the configuration. Also, when I checked the box of "event clicks only" (You had it checked in the last screenshot), it shows nothing on my left hand screen. Thanks in advance
Answers.UserDisplayName: Anaa
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-02T08:32:16.843Z
Answers.Text: Hi Anaa - have you tried the most recent PG release?  V.2.02.05 has updates to the click train detector module.  If not, I would suggest that you try that and then revisit the module and display settings.
Answers.UserDisplayName: ChrisP
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-05T12:12:14.410Z
Answers.Text: I've tried the V.2.02.05. now and I've attached screenshots of the settings and the results...when I run the click train detector the program crashes but I wasn't able to find a reason yet.
Answers.UserDisplayName: Anaa
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-09T15:11:41.717Z
Answers.Text: Hi @ChrisP - yes, bearing is one of the options that a user can select when tuning the click train detector, but it is not a mandatory option. I have de-selected this option and ran the click-train detector on single-channel data.
Answers.UserDisplayName: Chloe
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-10-21T17:23:56.760Z
Answers.LastActivityDate: 2022-11-01T15:01:55.147Z
Answers.LastEditDate: 2022-11-01T15:01:55.147Z
Answers.UserDisplayName: ChrisP
Answers.Body: <p>Please note that there are two Click Train detectors in PAMGuard. The one you are using seems to be the one built into the click detector, which I think was written in around 2006 and hasn't been touched since.</p>
  <p>Jamie Macaulay has written a much more sophisticated Click Train Detector module which you will find in the detectors menu and can add to your model. This should work a lot better with single channel data - though never as well as it does with multi channel data. The latest release 2.02.05 also has updated documentation for Jamies detector in the help file.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-03T23:32:05.777Z
Answers.Text: Okay, thank you so much for the information! Do I need to download again Pamguard in order to get the latest release or is there an option to update from version 2.02.03 to 2.02.05?
Answers.UserDisplayName: Anaa
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-04T12:44:50.173Z
Answers.Text: Just download and install the latest release from pamguard.org. Existing configuration files won't be affected.
Answers.UserDisplayName: Doug Gillespie
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-05T11:50:42.840Z
Answers.Text: I've tried the new click train detector but the program doesn't respond after running the click train detector...I've attached screenshots of the settings and the results
Answers.UserDisplayName: Anaa
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-03T15:58:35.473Z
Answers.LastActivityDate: 2022-11-03T15:58:35.473Z
Answers.UserDisplayName: Doug Gillespie
Body: <p>I have tried to detect click trains of dolphins in my audio file using the click train identification, but it doesn't detect any click trains.</p>
  <p>(The recording contains clicks of the species <em>Tursiops truncatus</em> dolphin)</p>
  <p>My recording has some background noise because of sediments that hit the hydrophone and maybe this is affecting my detection.
  Also, my recording was done using just one hydrophone so the bearing parameter of the click train detector doesn't make any sense here.</p>
  <p>I attached pictures where I can clearly distinguish visually the clicks and click trains after using the click detector.</p>
  <p>These clicks are really close to each other and they are easy to distinguish but the click train identification is not capable of doing it.</p>
  <p>I don't know how to be able to detect these click trains using the click train identification detector.
  I'd really appreciate if someone could help me.</p>
  <p>Thank you in advance.</p>
  <p><a href="https://i.sstatic.net/ZZSJk.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/ZZSJk.jpg" alt="click trains" /></a></p>
  <p>Results after using the click classifier and some pre-filtering:</p>
  <p><a href="https://i.sstatic.net/y0mZr.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/y0mZr.png" alt="Results after using the click classifier" /></a></p>
  <p>When I use the new click train detector , the program crashes.
  Results:</p>
  <p><a href="https://i.sstatic.net/8FtH4.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/8FtH4.png" alt="results with the new click train detector" /></a></p>
  <p>Click train settings:</p>
  <p><a href="https://i.sstatic.net/q8Lla.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/q8Lla.png" alt="Click train settings" /></a></p>
  <p>Data model:</p>
  <p><a href="https://i.sstatic.net/Ygaui.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Ygaui.png" alt="Data model" /></a></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-11-09T15:09:34.087Z
Comments.Text: Copy and send the black window text to support@PAMGuard.org when something crashes - this will work to solve why it happened in the first place
Comments.UserDisplayName: Chloe
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-11-09T15:10:30.210Z
Comments.Text: There is an extensive PAMguard help file on the click train detector - have you looked at that?
Comments.UserDisplayName: Chloe
Tags: <noise><pamguard><echolocation-clicks><detector>
Title: Could I use the click train identification detector of pamguard when I only have one channel (one hydrophone)?
ThreadText: # Could I use the click train identification detector of pamguard when I only have one channel (one hydrophone)?
  
  (Asked by: username_0 on 2022-10-16)
  
  I have tried to detect click trains of dolphins in my audio file using the click train identification, but it doesn't detect any click trains.
  
  (The recording contains clicks of the species *Tursiops truncatus* dolphin)
  
  My recording has some background noise because of sediments that hit the hydrophone and maybe this is affecting my detection.
  Also, my recording was done using just one hydrophone so the bearing parameter of the click train detector doesn't make any sense here.
  
  I attached pictures where I can clearly distinguish visually the clicks and click trains after using the click detector.
  
  These clicks are really close to each other and they are easy to distinguish but the click train identification is not capable of doing it.
  
  I don't know how to be able to detect these click trains using the click train identification detector.
  I'd really appreciate if someone could help me.
  
  Thank you in advance.
  
  [![click trains](https://i.sstatic.net/ZZSJk.jpg)](https://i.sstatic.net/ZZSJk.jpg)
  
  Results after using the click classifier and some pre-filtering:
  
  [![Results after using the click classifier](https://i.sstatic.net/y0mZr.png)](https://i.sstatic.net/y0mZr.png)
  
  When I use the new click train detector , the program crashes.
  Results:
  
  [![results with the new click train detector](https://i.sstatic.net/8FtH4.png)](https://i.sstatic.net/8FtH4.png)
  
  Click train settings:
  
  [![Click train settings](https://i.sstatic.net/q8Lla.png)](https://i.sstatic.net/q8Lla.png)
  
  Data model:
  
  [![Data model](https://i.sstatic.net/Ygaui.png)](https://i.sstatic.net/Ygaui.png)
  
  **Tags:** noise, pamguard, echolocation-clicks, detector
  
  > **Comments:**
  > **username_1**: Copy and send the black window text to support@PAMGuard.org when something crashes - this will work to solve why it happened in the first place  
  > **username_1**: There is an extensive PAMguard help file on the click train detector - have you looked at that?  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2022-10-21. Score: 5
  
  As I understand it, PAMGuard's automatic click train identifier uses rate of change of click bearings as one of its parameters, so will require two or more channels of data. And it doesn't tend to work very well when at low SNR - it breaks click trains into very short sequences.
  
  Instead, can you use a click classifier to separate a high proportion of Tursiops clicks from noise, e.g., using click length and energy band comparison? If so, you could then display clicks classified as Tursiops, and perhaps include a second window to plot time vs ICI. This won't automate click train extraction, but it may help you discriminate click trains during manual review of your data in the click detector displays.
  
  [![enter image description here](https://i.sstatic.net/zRZEt.png)](https://i.sstatic.net/zRZEt.png)
  
  [![enter image description here](https://i.sstatic.net/craUP.png)](https://i.sstatic.net/craUP.png)
  
  > **Comments:**
  > **username_0**: Thank you very much, I was able to use the classifier to separate some Tursiops clicks from noise by comparing click length and energy band. I have also added a second window to plot time vs ICI but it doesn't show me anything in this window, what is the point of doing the latter?  
  > **username_2**: Hi Anna - I find the time v ICI display helpful when identifying trains manually.  I've added a screenshot to illustrate how the ICI trends make contiguous trains stand out, in Viewer mode.  The example is a 1-ch file of harbour porpoise clicks.  
  > **username_2**: cont... If the display is blank, it's probably a problem with display settings - are you using Viewer or 'normal' mode?  In the example above, in Viewer, i linked the scrollers for the two displays, and set both to the same start time and duration.  Then ticked 'display ICI for unclassified' and log scale.  You should be able to display several minutes of data in the amplitude window but scroll through e.g. 1-min windows of ICI.  
  > **username_2**: cont...  If your question is about the relatively new Click Train Detector module rather than the Click Detector module..., then i'm probably not the best person to try and answer you, as i'm still struggling to understand its parameterisation myself.  This maybe something tha twill help you though, as it should be able to incorporate your classifier, and colour clicks by train on a 1-ch time v amplitude display, i think.  
  > **username_2**: After some experimentation - the Click Train Detector module (PAMGuard v2.02.x) did allow me to classify / colour click detections automatically as trains on the 1-ch click detector displays.  I imagine when scrolling through longer survey data, having clusters of delphinid clicks highlighted as click trains (as well as classified by type) will make them easier to identify.  They can be assigned to events directly from the ICI display (and as super-detections from a time-base FX display of ICIs).  
  > **username_0**: Hi Chris - I attached a picture of my new results. I'm in normal mode but I didn't have the proper display settings, now it works for me, thanks. In my case, the click train detector still does not detect anything... Also,as you can see in the image, the classifier does not show the clicks in the specified color for the symbol...  
  > **username_2**: Hi username_0 - you might need to rt-click ICI display > more symbol options.  In the last screenshot RHS i have it coloured by click classification, and by click train (click trains).  On the LHS it is coloured by click classification, and event.  I don't find the symbol options intuitive to use at all, but here i ticked the options shown to overrule the default symbol shape / colour, and changed their order.  
  > **username_0**: Hi Chris - I did the same as you and I solved the part of colouring by click classification but when I tried to color the RHS using the click train (click trains) I didn't get the option to do so, maybe because my click train doesn't seem to detect anything... I am attaching new screenshots of the configuration. Also, when I checked the box of "event clicks only" (You had it checked in the last screenshot), it shows nothing on my left hand screen. Thanks in advance  
  > **username_2**: Hi username_0 - have you tried the most recent PG release?  V.2.02.05 has updates to the click train detector module.  If not, I would suggest that you try that and then revisit the module and display settings.  
  > **username_0**: I've tried the V.2.02.05. now and I've attached screenshots of the settings and the results...when I run the click train detector the program crashes but I wasn't able to find a reason yet.  
  > **username_1**: Hi @username_2 - yes, bearing is one of the options that a user can select when tuning the click train detector, but it is not a mandatory option. I have de-selected this option and ran the click-train detector on single-channel data.  
  
  ---
  
  ### Answer by username_3 on 2022-11-03. Score: 3
  
  Please note that there are two Click Train detectors in PAMGuard. The one you are using seems to be the one built into the click detector, which I think was written in around 2006 and hasn't been touched since.
  
  Jamie Macaulay has written a much more sophisticated Click Train Detector module which you will find in the detectors menu and can add to your model. This should work a lot better with single channel data - though never as well as it does with multi channel data. The latest release 2.02.05 also has updated documentation for Jamies detector in the help file.
  
  > **Comments:**
  > **username_0**: Okay, thank you so much for the information! Do I need to download again Pamguard in order to get the latest release or is there an option to update from version 2.02.03 to 2.02.05?  
  > **username_3**: Just download and install the latest release from pamguard.org. Existing configuration files won't be affected.  
  > **username_0**: I've tried the new click train detector but the program doesn't respond after running the click train detector...I've attached screenshots of the settings and the results  
  
  ---
  
  