Skip to content

[Question] Remove errors raised by pyrato.edc.intersection_time_lundeby #121

@f-brinkmann

Description

@f-brinkmann

Checklist

Question

pyrato.edc.intersection_time_lundeby raises an error if computations fail due to low SNR. This function is called by other functions to truncate and compute EDCs. These functions are commonly used to compute EDCs and later RA parameters in (fractional) octaves. In this case the computation would fail if the SNR is to low in only one band. I think this is unwanted and we should think about other options.

Suggestion:

  • pyrato.edc.intersection_time_lundeby returns NaN values instead of raising an error
  • pyrato.edc.intersection_time_lundeby could raise a warning instead ans/or we could add an additional return parameter that flags if the computation worked (per channel of the input data)
  • Functions calling pyrato.edc.intersection_time_lundeby could return EDCs consisting of only NaN values and/or we could add an additional return parameter that flags if the computation worked (per channel of the input data)

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions