get_table_column

get_table_column(table_name, column_name, rows='all')

Get data from the specified table.

Parameters:
  • table_name (str) – table name

  • column_name (str) – column name

Return type:

ndarray

Returns:

the data in the requested column

Raises:

CAUTION: Numeric data is wrapped in numpy arrays but not copied. Make sure to copy all data before invoking any further MAD-X commands! This is done automatically for you if using libmadx in a remote service (pickle serialization effectively copies the data).