module myna.core.utils.downsample_to_image
function downsample_to_image
downsample_to_image(
data_x,
data_y,
values,
image_size,
plate_size,
bottom_left=[0, 0],
mode='max'
)
Downsample a 2D numpy array to a specified image size
Args:
data_x: x-axis valuesdata_y: y-axis valuesvalues: array of values to plotimage_size: size of the image to outputplate_size: size of the build plate (meters)bottom_left: [X,Y] coordinate (meters) associated with bottom-left of imagemode: method for downsampling (default "max")
This file was automatically generated via lazydocs.