nmrglue.fileio.table.glue2pipe

nmrglue.fileio.table.glue2pipe(comments, rec)[source]

Convert a nmrglue table to a NMRPipe table.

Parameters
commentslist

List of comments

recrecarray

Records array with named fields.

Returns
pcommentslist

List of NMRPipe comment lines.

pformatslist

List of NMRPipe table column formats strings. This list is guessed from the data types and precision in the reconrds array. This may not be the exact format desired, edit this to your liking.

recrecarray

Records array with named fields.