Digital

Description

StationXML does not have a class for digital stages which are not filters. They are therefore implemented as a Coefficients filter with one numerator coefficient, equal to 1.

Python class:

Digital

YAML / JSON label:

DIGITAL

Corresponding StationXML structure

Coefficients (with no coefficients)

Object Hierarchy

Superclass

Coefficients

Subclasses

None

Relationships

Attributes

Name

Type

Required

Default

Equivalent StationXML

Remarks

None

JSON schema

https://www.gitlab.com/resif/smm/obsinfo/-/tree/master/obsinfo/data/schemas/filter.schema.json

Example

_templates/digital.filter.yaml

---
format_version: "1.0"
revision:
    authors:
        - {$ref: "persons/EXAMPLE.person.yaml"} # Reference to person file,
                                                 # or fields of a person element
    date: "2024-09-30" # yyyy-mm-dd
filter:
    type : "DIGITAL"
    # BEGIN OPTIONAL filter elements
    delay.samples: 0               # Samples by which the conversion delays
                                   # the data (0)
    # END OPTIONAL filter elements
# BEGIN OPTIONAL top-level elements
notes: 
   - ""
# END OPTIONAL top-level elements

Class Navigation

Filter <==