Answers.Body: <p><strong>Short answer</strong></p>
  <p>Set the Datagram bin size to be the full duration of the duty cycle. For example, if the duty cycle is 1 min recording every 10 minutes, then set the Datagram bin size to 600 s.</p>
  <p><strong>Longer answer and background info:</strong></p>
  <p>If I understand you correctly, the functionality that you seek is to view summaries of analysis produced by PAMGuard modules for your 1-minute long recordings, but you want to view these without any gaps or whitespace (or gray-space) in between recordings (e.g. during the 9 minutes of non-recorded data).</p>
  <p>As far as I'm aware, the option to skip whitespace does not exist as an explicit feature within the current functionality of PAMGuard's data map. However, I think there may be a couple of ways to wrangle the settings to get the desired effect, or to work around the limitations of the data map.</p>
  <p>First, I think it's important to understand that the Data Map is really intended to provide a high-level summary of the output of PAMGuard modules over time. It is not really intended to be used to search for signals, so your use-case is a bit beyond what it is intended for. That said, I myself have found the PAMGuard data map surprisingly effective for browsing long-term spectral averages for times with interesting spectral content.</p>
  <p>On the data map the x-axis is always date and time. Each panel of the data map shows the output only of a single PAMGuard module, and this output is summarised into user-defined time periods (by default 600 s). Some modules only show the number of data units per time period (e.g. the Sound Acquisition Module will show the number of recording sessions or files per time period). Other modules can display an image (column/rectangular slice) of coloured pixels for each time period. You can change the default time period for each summary in Viewer mode via:</p>
  <p><strong>File -&gt; Binary Store -&gt; Datagram options</strong></p>
  <p>If I understand correctly, setting the datagram duration to that of your duty cycle (10 minutes as stated in your original post) should create a continuous LTSA for you with no whitespace. Other modules might behave differently though.</p>
  <p>Here are two example screenshots showing the exact same dataset, but each screenshot uses a different Datagram bin size. The data are from the <a href="https://data.aad.gov.au/metadata/AcousticTrends_BlueFinLibrary" rel="nofollow noreferrer">open-access SORP Blue and Fin Whale Annotated Library</a>, specifically from the duty-cycled Elephant Island 2014 recordings. These recordings have a duty cycle of 5 min every hour. The first screenshot shows Datagram bin size of 600 s. The second screenshot shows Datagram bin size of 3600 s.</p>
  <p><a href="https://i.sstatic.net/A343N.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/A343N.png" alt="Datagram bin size 600 s" /></a></p>
  <p><a href="https://i.sstatic.net/AiARf.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/AiARf.png" alt="Datagram bin size 3600 s" /></a></p>
  <p>Here you can see that the LTSA module indeed expanded the images to fill the full 3600 s, whereas the Sound Acquisition module behaves differently (and incorrectly). In this example, using PAMGuard version 2.02.09, it seems that the Sound Acquisition is hard-coded to use the start and stop times of each file as the time period, and that these are then scaled by the selection of the 'Vertical' drop-down. In my example, this results in the incorrect suggestion that there are 10-12 wav-files per hour (hard to tell on the log-scale) when in fact there is only one. As such, this should probably be filed as a bug in PAMGuard.</p>
  <p>Another potential workaround to achieve your goal would be to use the PAMGuard Matlab or PAMGuard R libraries to load your data in in Matlab or R (<a href="https://www.pamguard.org/48_MATLABRcode.html" rel="nofollow noreferrer">https://www.pamguard.org/48_MATLABRcode.html</a>) and then create data summaries that are similar to the data map. There's a detailed post/how-to with some extra Matlab code that might help you achieve this for LTSA module in Matlab (<a href="https://jamieslabs.wordpress.com/2018/03/04/updated-ltsa-code/" rel="nofollow noreferrer">https://jamieslabs.wordpress.com/2018/03/04/updated-ltsa-code/</a>). While this approach is potentially more complicated, it is also a lot more flexible and customisable in terms of the look and feel of the resulting output.</p>
  <p>Anyway, thanks for your question, and I hope this helps.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-01-02T04:00:08.437Z
Answers.LastActivityDate: 2024-01-04T00:30:43.947Z
Answers.LastEditDate: 2024-01-04T00:30:43.947Z
Answers.UserDisplayName: Brian Miller
Answers.Body: <p>If there  is no other answer providing a setup-based solution, I would suggest to open an issue (feature request) at <a href="https://github.com/PAMGuard/PAMGuard/issues" rel="nofollow noreferrer">Pamguard GitHub</a>, so the developers and contributors can implement the desired feature. Maybe you refer also to this (your) question</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-29T13:02:25.460Z
Answers.LastActivityDate: 2023-12-29T13:02:25.460Z
Answers.UserDisplayName: WMXZ
Body: <p>I am analyzing 7 months of data, where a search will be made for acoustic signals of cetaceans using the PAMGuard and PAMGuard Viewer detectors.
  When loading data, which was recorded continuously at a rate of 1 minute recorded every 10 minutes, the data in the DATA MAP appears with the recording intervals, continuously (1 minute of acoustic data and 9 minutes of empty space without data, as shown in the print below)
  How to view continuous data in the DATA MAP of the PAMGuard Viewer, which were recorded at a rate of 1 minute every 10 minutes, without the time intervals where there is no acoustic data appearing in the DATA MAP?
  Thank you very much</p>
  <p><a href="https://i.sstatic.net/AH6pw.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/AH6pw.png" alt="Print scr of DATAMAP-PAMGuard" /></a></p>
  <p>Felipe Penin</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-12-28T15:55:29.593Z
Comments.Text: Only to clarify: you are looking for a solution that presents the data without time gaps, that is, ignoring the time stamps?
Comments.UserDisplayName: WMXZ
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-12-29T10:54:35.550Z
Comments.Text: that's it! I would like only the moments that were recorded to appear in the DATA MAP,
  As acoustic data is named with DATE and TIME, PAMGuard automatically reads the date and time the data was recorded
Comments.UserDisplayName: Felipe Penin
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-12-29T10:55:07.507Z
Comments.Text: 20230313_230100
  20230313_231100
  20230313_232100
  20230313_233100
  20230313_234100
  20230313_235100
  
  Just like in the example above, which is the data that was recorded from the 23rd hour on the 13th, all my data is recorded like this, 1 minute of recording every 10 minutes.
  When I load the data into the pamguard viewer, in the data map it shows the complete timeline, so there is 1 minute of data and 9 minutes of NOTHING.... this is making the search for signals in the DATA MAP unfeasible
Comments.UserDisplayName: Felipe Penin
Tags: <pamguard><data-processing><pamguard-viewer-mode><datamap>
Title: How to view continuous data in the DATA MAP of the PAMGuard Viewer, which were recorded at a rate of 1 minute every 10 minutes without the nodata set
ThreadText: # How to view continuous data in the DATA MAP of the PAMGuard Viewer, which were recorded at a rate of 1 minute every 10 minutes without the nodata set
  
  (Asked by: username_0 on 2023-12-28)
  
  I am analyzing 7 months of data, where a search will be made for acoustic signals of cetaceans using the PAMGuard and PAMGuard Viewer detectors.
  When loading data, which was recorded continuously at a rate of 1 minute recorded every 10 minutes, the data in the DATA MAP appears with the recording intervals, continuously (1 minute of acoustic data and 9 minutes of empty space without data, as shown in the print below)
  How to view continuous data in the DATA MAP of the PAMGuard Viewer, which were recorded at a rate of 1 minute every 10 minutes, without the time intervals where there is no acoustic data appearing in the DATA MAP?
  Thank you very much
  
  [![Print scr of DATAMAP-PAMGuard](https://i.sstatic.net/AH6pw.png)](https://i.sstatic.net/AH6pw.png)
  
  username_0
  
  **Tags:** pamguard, data-processing, pamguard-viewer-mode, datamap
  
  > **Comments:**
  > **username_1**: Only to clarify: you are looking for a solution that presents the data without time gaps, that is, ignoring the time stamps?  
  > **username_0**: that's it! I would like only the moments that were recorded to appear in the DATA MAP, As acoustic data is named with DATE and TIME, PAMGuard automatically reads the date and time the data was recorded  
  > **username_0**: 20230313_230100 20230313_231100 20230313_232100 20230313_233100 20230313_234100 20230313_235100  Just like in the example above, which is the data that was recorded from the 23rd hour on the 13th, all my data is recorded like this, 1 minute of recording every 10 minutes. When I load the data into the pamguard viewer, in the data map it shows the complete timeline, so there is 1 minute of data and 9 minutes of NOTHING.... this is making the search for signals in the DATA MAP unfeasible  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2024-01-02. Score: 2
  
  **Short answer**
  
  Set the Datagram bin size to be the full duration of the duty cycle. For example, if the duty cycle is 1 min recording every 10 minutes, then set the Datagram bin size to 600 s.
  
  **Longer answer and background info:**
  
  If I understand you correctly, the functionality that you seek is to view summaries of analysis produced by PAMGuard modules for your 1-minute long recordings, but you want to view these without any gaps or whitespace (or gray-space) in between recordings (e.g. during the 9 minutes of non-recorded data).
  
  As far as I'm aware, the option to skip whitespace does not exist as an explicit feature within the current functionality of PAMGuard's data map. However, I think there may be a couple of ways to wrangle the settings to get the desired effect, or to work around the limitations of the data map.
  
  First, I think it's important to understand that the Data Map is really intended to provide a high-level summary of the output of PAMGuard modules over time. It is not really intended to be used to search for signals, so your use-case is a bit beyond what it is intended for. That said, I myself have found the PAMGuard data map surprisingly effective for browsing long-term spectral averages for times with interesting spectral content.
  
  On the data map the x-axis is always date and time. Each panel of the data map shows the output only of a single PAMGuard module, and this output is summarised into user-defined time periods (by default 600 s). Some modules only show the number of data units per time period (e.g. the Sound Acquisition Module will show the number of recording sessions or files per time period). Other modules can display an image (column/rectangular slice) of coloured pixels for each time period. You can change the default time period for each summary in Viewer mode via:
  
  **File -> Binary Store -> Datagram options**
  
  If I understand correctly, setting the datagram duration to that of your duty cycle (10 minutes as stated in your original post) should create a continuous LTSA for you with no whitespace. Other modules might behave differently though.
  
  Here are two example screenshots showing the exact same dataset, but each screenshot uses a different Datagram bin size. The data are from the [open-access SORP Blue and Fin Whale Annotated Library](https://data.aad.gov.au/metadata/AcousticTrends_BlueFinLibrary), specifically from the duty-cycled Elephant Island 2014 recordings. These recordings have a duty cycle of 5 min every hour. The first screenshot shows Datagram bin size of 600 s. The second screenshot shows Datagram bin size of 3600 s.
  
  [![Datagram bin size 600 s](https://i.sstatic.net/A343N.png)](https://i.sstatic.net/A343N.png)
  
  [![Datagram bin size 3600 s](https://i.sstatic.net/AiARf.png)](https://i.sstatic.net/AiARf.png)
  
  Here you can see that the LTSA module indeed expanded the images to fill the full 3600 s, whereas the Sound Acquisition module behaves differently (and incorrectly). In this example, using PAMGuard version 2.02.09, it seems that the Sound Acquisition is hard-coded to use the start and stop times of each file as the time period, and that these are then scaled by the selection of the 'Vertical' drop-down. In my example, this results in the incorrect suggestion that there are 10-12 wav-files per hour (hard to tell on the log-scale) when in fact there is only one. As such, this should probably be filed as a bug in PAMGuard.
  
  Another potential workaround to achieve your goal would be to use the PAMGuard Matlab or PAMGuard R libraries to load your data in in Matlab or R (<https://www.pamguard.org/48_MATLABRcode.html>) and then create data summaries that are similar to the data map. There's a detailed post/how-to with some extra Matlab code that might help you achieve this for LTSA module in Matlab (<https://jamieslabs.wordpress.com/2018/03/04/updated-ltsa-code/>). While this approach is potentially more complicated, it is also a lot more flexible and customisable in terms of the look and feel of the resulting output.
  
  Anyway, thanks for your question, and I hope this helps.
  
  
  ---
  
  ### Answer by username_1 on 2023-12-29. Score: 1
  
  If there is no other answer providing a setup-based solution, I would suggest to open an issue (feature request) at [Pamguard GitHub](https://github.com/PAMGuard/PAMGuard/issues), so the developers and contributors can implement the desired feature. Maybe you refer also to this (your) question
  
  
  ---
  
  