Functions | |
def | mdf_write |
Write an MDF file. More... | |
def | parse_list |
Parse a group of markers and write them into an MDF file. More... | |
def | write_line |
Write a line into an MDF file. More... | |
def pylmflib.pylmflib.output.mdf.mdf_write | ( | object, | |
filename, | |||
lmf2mdf = lmf_mdf , |
|||
order = mdf_order |
|||
) |
Write an MDF file.
object | The LMF instance to convert into MDF output format. |
filename | The name of the MDF file to write with full path, for instance 'user/output.txt'. |
lmf2mdf | A Python dictionary describing the mapping between LMF representation and MDF markers. Default value is 'lmf_mdf' dictionary defined in 'pylmflib/config/mdf.py'. Please refer to it as an example. |
order | A Python list defining the order in which MDF markers must be written, for instance ["lx", "ps"]. Default value is 'mdf_order' list defined in 'pylmflib/config/mdf.py'. |
def pylmflib.pylmflib.output.mdf.parse_list | ( | mdf_file, | |
lmf2mdf, | |||
marker, | |||
object | |||
) |