Calculate the mean deviation of solar orientation of objects on adjacent cells from an object
GeoDataFrame containing objects to analyse
spatial weights matrix
the name of the left dataframe column, np.array, or pd.Series where is stored object orientation value
(can be calculated using momepy.Orientation)
name of the column with unique id used as spatial_weights index.
if True, shows progress bars in loops and indication of steps
>>> buildings_df['alignment'] = momepy.Alignment(buildings_df, sw, 'uID', bl_orient).series
100%|██████████| 144/144 [00:01<00:00, 140.84it/s]
Series containing resulting values
Series containing used orientation values
Series containing used unique ID
Initialize self. See help(type(self)) for accurate signature.
__init__(gdf, spatial_weights, unique_id, …)