Skip to content

Create an MFT class instance

The functions provided by the microfading package only work on an instance of a microfading test class (MFT). The creation of an instance of a microfading class is a two-steps procedure and is described below:

1. Get MFT data files

Retrieve a list of data files on which the functions provided by the class will be applied. The data files need to be constrained to a specific file structure (For more information about it, see the data files section).

import microfading as mf
# Here we are using the test data, but you should use your own data files
files = mf.get_datasets()

 

2. Create MFT class instance

Create the instance using the files as the main parameter.

mc = mf.MFT(files=files) # mc stands for microfading class
mc
Microfading data class - Number of files = 5