RelationshipBetweenFactory#

class rojak.turbulence.analysis.RelationshipBetweenFactory(this_feature, other_feature, /, *, sum_over_dim='time')[source]#

Factory for constructing the RelationshipBetween subclass corresponding to a RelationshipBetweenTypes

Parameters:
__init__(this_feature, other_feature, /, *, sum_over_dim='time')[source]#
Parameters:
  • this_feature (DataArray) – First binary variable

  • other_feature (DataArray) – Second binary variable

  • sum_over_dim (str | list[str] | None) – Dimension(s) to sum over when computing the contingency table. Defaults to "time".

Return type:

None

Methods

__init__(this_feature, other_feature, /, *)

create(type_of_relationship, *[, use_log])

Construct the RelationshipBetween instance for the requested relationship type