Open Issues Need Help
View All on GitHubAI Summary: The task is to optimize the data structure used to store 'slice data' in a Python program that processes PAMGuard binary files. The current implementation uses a list of objects, which is considered bulky. The goal is to refactor this to use a more efficient structure, likely using NumPy arrays, mirroring a similar optimization done in a MATLAB version of the code. This involves analyzing the existing code, designing a new data structure, and implementing the changes while ensuring data integrity.
AI Summary: The task is to determine how to handle the different `file_format` versions (0 and 7) in the PyPAMGuard library's `stdmodule` code. The current code has conditional logic based on `file_format`, but needs to be updated to correctly handle both version 0 and version 7 data, potentially requiring adjustments to how data like `time_ns` and `channel_map` are read and interpreted. The goal is to ensure backward compatibility with older data files while maintaining functionality with newer ones.
AI Summary: The task is to clarify the naming inconsistency in the PyPAMGuard documentation regarding the `fileFormat` field in the file header. The documentation and an image show conflicting names for this field: `fileFormat` and `version`. The goal is to determine the correct name and update the documentation accordingly to ensure consistency.