maci.load
loads maci data from a file
loading a file
Loads any plain text file that contains maci data that follows the maci language syntax (See language), and returns a MaciDataObj.
Basic Example of loading a file using default positional parameter
data = maci.load('my.data')
In this example, we simply load maci data from a file using the load function and pass a string of the filepath to the file as an argument to the function to load the maci data, and assign the returned data object to a variable.
Access the data by their individual and respective attribute names like you normally would on an object in python.
Example accessing and viewing the data
data.mydata1
print(data.mydata1)
You may also view all maci data simply by printing or viewing the repr of the object (See object)
parameters & arguments
Describes all parameter functionality and accepted data types
Last updated