DASCore – an Update

Sep 19, 2023 | CWP Blog

Posted by Derrick Chambers

DASCore is a new open-source Python project for working with distributed acoustic sensing (DAS) data. It provides three main features:

  1. I/O support for a variety of common data formats including:
  • Simple H5
  • ProdML
  • TDMS
  • Terra15
  • SEGY (soon)
  1. Common processing routines such as:
  • Bandpass, highpass, lowpass filters
  • Detrending
  • Tapering
  • Fourier transforms
  • Rolling window operations
  1. Basic visualizations
  • Waterfall plots
  • Wiggle plots

DASCore implements an object-oriented interface composed of two main abstractions: a Patch, which represents a contiguous block of DAS data and associated metadata, and a Spool, which manages groups of Patches.

Figure 1: DASCore data structures. The Patch class contains the following components: 1) data- a multidimensional array of DAS recordings, 2) coords- coordinate dimensions labels and 3) attrs- a light metadata store for non-coordinate information. Patch methods facilitate processing, I/O, and visualization.  The Spool manages a group of packages, be they on disk, in memory or a remote resource. The Spool methods facilitate selecting, loading, and chunking Patch data. Processing functions can also be mapped over the contents of a Spool with various concurrency options.

Although DASCore is a new project, we are rapidly moving towards our first stable release. If you work with DAS data and Python, please check it out and let us know how it goes! You can find more information at dascore.org. What are the essential tools you would like in your DAS toolbox?

0 Comments