Skip to content

Generic Labels for channels names supported #74

@kkappler

Description

@kkappler

In general it would be very nice to allow for generic channel labels.

"hx", "hy", "ex", "ey" are good channel labels, but it would be nice if we had a place where these default channel labels were stored, and a user could change these.

This relates to mth5 Issue38 https://github.com/kujaku11/mth5/issues/38 and mth5 Issue54
but more than just "h1", "h2", "h3", "e1", "e2", we should be able to support
"label1", "label2", "labelN"
This implies an underlying channel naming schema, that defaults to "hx", "hy", "hz", "ex", "ey" but could support "foo", "bar", "moonunit", "dweezil", etc.

If we want to do Egbert's MMT method, or other methods we can for example concatenate channel label and station name.

Note:

  • The regression is already agnostic to channel names, being cast in terms of input channels X and output channels Y.
  • Most of the time series operations simply loop over channel names so these shouldn't be a major issue
  • The assigning of TF values will need either a mapping to "effective hexy labels" or the tf will need to be created with generic structure. This won't be too hard, the main issue is actually when we call apparent resistivity calculation, and a layer to map the channel names can be put in before we call apparent_resistivity()

This is particularly important if we want to work in a transformed domain. For example PCA, ICA representations of the data will not correspond to the hexy convention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions