mldas.explore.prepare.set_from_file

mldas.explore.prepare. set_from_file ( filename , img_size = 100 , stride = 10 , adjust = False , shuffle = True , select = None , nrand = None ) [source]

Create set of images out of single DAS data file.

Parameters
filename str

Path the data file

img_size int

Size of squared image

stride int

Sliding interval

adjust bool

Brightness adjustment

shuffle bool

Shuffle output dataset

select int , list

Index(es) of specific image index

nrand int

Number of images to be randomly selected

Returns
Xtrain list

List of individual images