Importing data and D matrix preparationΒΆ

MODULO can operate with two options.

Option 1: the snapshot matrix is provided by the users. MODULO accepts numpy.array data matrices only. We use this feature in Example 1.

Option 2: a folder containing the data is provided and MODULO must assemble the snapshot matrix. We use this feature in Example 2.

When operating with MEMORY_SAVING=True, MODULO will refrain from working on the full matrix D but relies on Option 2. The user must provide the folder containing the data partitions. We provide the method ReadData to carry out this chunking step, and we illustrate the complete workflow in Tutorial 4. ReadData can handle .dat or .txt files. However, the partitions can also be created with any other method, as long as the inputs to MODULO are consistent.