TimeModule#

class geowombat.TimeModule[source]#

Bases: object

Methods

__call__(w, array, band_dict)

calculate(data)

Calculates the user function.

Methods Summary

__call__(w, array, band_dict)

calculate(data)

Calculates the user function.

Methods Documentation

__call__(w, array, band_dict)[source]#
abstract calculate(data)[source]#

Calculates the user function.

Parameters:

data (numpy.ndarray | jax.Array | torch.Tensor | tensorflow.Tensor) – The input array, shaped [time x bands x rows x columns].

Return type:

Any

Returns:

numpy.ndarray | jax.Array | torch.Tensor | tensorflow.Tensor, shaped (time|bands x rows x columns).

abstract calculate(data)[source]#

Calculates the user function.

Parameters:

data (numpy.ndarray | jax.Array | torch.Tensor | tensorflow.Tensor) – The input array, shaped [time x bands x rows x columns].

Return type:

Any

Returns:

numpy.ndarray | jax.Array | torch.Tensor | tensorflow.Tensor, shaped (time|bands x rows x columns).