locpix.scripts.img_seg.img_train_prep.parquet_2_img#
- parquet_2_img(files, channels, sum_chan, img_threshold, img_interpolate, folder)[source]#
Convert data from .parquet files to .png files and save
- Parameters:
files (list) – List of files (.parquet)
channels (list) – List of channels id by label to render in img
sum_chan (bool) – If True the channels are summed
img_threshold (float) – The threshold for the image
img_interpolate (string) – How to interpolate the image
folder (string) – Folder to save data to