mrdja.sampling

Functions

sampling_alligned_parallelogram_2d

Sample points from a parallelogram with sides parallel to the x and y axes.

sampling_circle_2d

Generate random samples on a 2D circle with a specified radius and center.

sampling_circle_3d

Sample a n_samples number of points from a 3D circle using the rejection sampling method.

sampling_cuboid

sampling_np_array_elements

Sample elements from a numpy array.

sampling_np_arrays_from_enumerable

Returns a list with number_of_np_arrays numpy arrays of size cardinality_of_np_arrays with random elements from a list or numpy array.

sampling_parallelepiped_3d

Sample n_samples points from a parallelepiped

sampling_parallelogram_2d

Sample a n_samples number of points from a 2D parallelogram.

sampling_parallelogram_3d

Sample n_samples points from a parallelogram

sampling_pcd_points

Sample points from a point cloud.

sampling_sphere

Generate random samples on a sphere with a specified radius and center.