pvfactors.geometry.timeseries.TsPointCoords

class pvfactors.geometry.timeseries.TsPointCoords(x, y)[source]

Timeseries point coordinates: provides a shapely-like API for timeseries point coordinates.

__init__(x, y)[source]

Initialize timeseries point coordinates using numpy array of coords.

Parameters
  • x (np.ndarray) – Timeseries x coordinates

  • y (np.ndarray) – Timeseries y coordinates

Methods

__init__(x, y)

Initialize timeseries point coordinates using numpy array of coords.

at(idx)

Get coordinates at a given index

from_array(coords_array)

Create timeseries point coords from numpy array of coordinates.

Attributes

as_array

Timeseries point coordinates as numpy array