synthesis_workflow.extra.make_map

Make a atlas map from scatter data.

Functions

get_annotations(cells, column, input_annotation[, mode])

From cells data, compute weighted density map.

get_plane(annotation[, axis, angle, alpha])

Get plane origin and rotation matrix.

get_sliced_annotations(annotation, plane_origin, ...)

From annotation file, extract values on a slice for plotting.

plot_density(X, Y, annotation[, layer_annotation])

Make density plot with layer annotations if any.

Module Contents

get_annotations(cells, column, input_annotation, mode='mean')

From cells data, compute weighted density map.

get_plane(annotation, axis=None, angle=-0.5 * np.pi, alpha=0.4)

Get plane origin and rotation matrix.

get_sliced_annotations(annotation, plane_origin, rotation_matrix, n_slices=1000, thickness=0.1)

From annotation file, extract values on a slice for plotting.

plot_density(X, Y, annotation, layer_annotation=None)

Make density plot with layer annotations if any.