@@ -35,10 +35,10 @@ class RelativePositions:
3535    Holds the relative positions of a window in a buffer. 
3636
3737    When calculating a profile the user has to pass two datetime objects which 
38-     are determaning  a window. It's allowed that this window is not contained in 
38+     are determining  a window. It's allowed that this window is not contained in 
3939    the historical data buffer. 
4040    In order to calculate the profile the window is shifted to the first 
41-     position in the buffer where it occurrs  first and represented by indexes 
41+     position in the buffer where it occurs  first and represented by indexes 
4242    relative to the oldest sample in the buffer. 
4343    """ 
4444
@@ -260,7 +260,7 @@ def _get_relative_positions(
260260        # the current position is inside that window or the window that would 
261261        # be overwritten next. 
262262        # 
263-         # Move the window to its first appereance  in the MovingWindow relative 
263+         # Move the window to its first appearance  in the MovingWindow relative 
264264        # to the oldest sample stored in the MovingWindow. 
265265        # 
266266        # In other words the oldest stored sample is considered to have index 0. 
@@ -367,7 +367,7 @@ def _get_reshaped_np_array(
367367        """ 
368368        Create a reshaped numpy array from the MovingWindow. 
369369
370-         The reshaped array is a two dimemsional  array, where one dimension is 
370+         The reshaped array is a two dimensional  array, where one dimension is 
371371        the window_size and the other the number of windows returned by the 
372372        `_get_buffer_bounds` method. 
373373
0 commit comments