SDDSlib
|
Python C extension module (sddsdata) for interfacing with the C language SDDS library. More...
Go to the source code of this file.
Classes | |
struct | module_state |
Macros | |
#define | PyInt_AsUnsignedLongLong PyInt_AsUnsignedLongLongMask |
#define | PyInt_AsUnsignedLong PyInt_AsUnsignedLongMask |
#define | PyInt_AsLongLong PyInt_AsLong |
#define | GETSTATE(m) |
#define | INITERROR return |
Functions | |
static PyObject * | sddsdata_InitializeInput (PyObject *self, PyObject *args) |
Initializes an SDDS dataset for input from a file. | |
static PyObject * | sddsdata_InitializeAppend (PyObject *self, PyObject *args) |
Initializes an SDDS dataset for appending data to a file. | |
static PyObject * | sddsdata_InitializeAppendToPage (PyObject *self, PyObject *args) |
Initializes appending data to an existing SDDS page in a file. | |
static PyObject * | sddsdata_InitializeOutput (PyObject *self, PyObject *args) |
Initializes an SDDS dataset for output to a file. | |
static PyObject * | sddsdata_SetColumnMajorOrder (PyObject *self, PyObject *args) |
Sets the data order for the SDDS dataset to column-major. | |
static PyObject * | sddsdata_SetFixedRowCountMode (PyObject *self, PyObject *args) |
Sets the row count mode for an SDDS dataset to fixed row count mode. | |
static PyObject * | sddsdata_SetRowMajorOrder (PyObject *self, PyObject *args) |
Sets the data order for the SDDS dataset to row-major. | |
static PyObject * | sddsdata_EnableFSync (PyObject *self, PyObject *args) |
Enables filesystem synchronization (fsync) for an SDDS dataset. | |
static PyObject * | sddsdata_DisableFSync (PyObject *self, PyObject *args) |
Disables filesystem synchronization (fsync) for an SDDS dataset. | |
static PyObject * | sddsdata_Terminate (PyObject *self, PyObject *args) |
Terminates an SDDS dataset, releasing any associated resources. | |
static PyObject * | sddsdata_SetTerminateMode (PyObject *self, PyObject *args) |
Sets the termination mode for SDDS to avoid freeing strings in arrays and tables. | |
static PyObject * | sddsdata_DefineParameter (PyObject *self, PyObject *args) |
Defines a parameter in an SDDS dataset. | |
static PyObject * | sddsdata_DefineArray (PyObject *self, PyObject *args) |
Defines an array in an SDDS dataset. | |
static PyObject * | sddsdata_DefineColumn (PyObject *self, PyObject *args) |
Defines a column in an SDDS dataset. | |
static PyObject * | sddsdata_IsValidName (PyObject *self, PyObject *args) |
Validates a name for SDDS compatibility. | |
static PyObject * | sddsdata_SetNameValidityFlags (PyObject *self, PyObject *args) |
Sets name validity flags to allow any name. | |
static PyObject * | sddsdata_DefineSimpleColumn (PyObject *self, PyObject *args) |
Defines a simple column in an SDDS dataset. | |
static PyObject * | sddsdata_DefineSimpleArray (PyObject *self, PyObject *args) |
Defines a simple array in an SDDS dataset. | |
static PyObject * | sddsdata_DefineSimpleParameter (PyObject *self, PyObject *args) |
Defines a simple parameter in an SDDS dataset. | |
static PyObject * | sddsdata_WriteLayout (PyObject *self, PyObject *args) |
Writes the layout of an SDDS dataset. | |
static PyObject * | sddsdata_EraseData (PyObject *self, PyObject *args) |
Erases data from an SDDS dataset. | |
static PyObject * | sddsdata_ProcessColumnString (PyObject *self, PyObject *args) |
Processes a column definition string. | |
static PyObject * | sddsdata_ProcessArrayString (PyObject *self, PyObject *args) |
Processes an array definition string. | |
static PyObject * | sddsdata_ProcessParameterString (PyObject *self, PyObject *args) |
Processes a parameter definition string. | |
static PyObject * | sddsdata_InitializeCopy (PyObject *self, PyObject *args) |
Initializes a copy from one SDDS dataset to another. | |
static PyObject * | sddsdata_CopyLayout (PyObject *self, PyObject *args) |
Copies the layout from one SDDS dataset to another. | |
static PyObject * | sddsdata_AppendLayout (PyObject *self, PyObject *args) |
Appends the layout of one SDDS dataset to another. | |
static PyObject * | sddsdata_CopyPage (PyObject *self, PyObject *args) |
Copies a page from one SDDS dataset to another. | |
static PyObject * | sddsdata_CopyParameters (PyObject *self, PyObject *args) |
Copies parameters from one SDDS dataset to another. | |
static PyObject * | sddsdata_CopyArrays (PyObject *self, PyObject *args) |
Copies arrays from one SDDS dataset to another. | |
static PyObject * | sddsdata_CopyColumns (PyObject *self, PyObject *args) |
Copies columns from one SDDS dataset to another. | |
static PyObject * | sddsdata_CopyRow (PyObject *self, PyObject *args) |
Copies a row from one SDDS dataset to another. | |
static PyObject * | sddsdata_CopyRowDirect (PyObject *self, PyObject *args) |
Directly copies a row from one SDDS dataset to another. | |
static PyObject * | sddsdata_CopyAdditionalRows (PyObject *self, PyObject *args) |
Copies additional rows from one SDDS dataset to another. | |
static PyObject * | sddsdata_DeferSavingLayout (PyObject *self, PyObject *args) |
Defers saving the layout of an SDDS dataset. | |
static PyObject * | sddsdata_SaveLayout (PyObject *self, PyObject *args) |
Saves the layout of an SDDS dataset. | |
static PyObject * | sddsdata_RestoreLayout (PyObject *self, PyObject *args) |
Restores the layout of an SDDS dataset. | |
static PyObject * | sddsdata_StartPage (PyObject *self, PyObject *args) |
Starts a page in an SDDS dataset. | |
static PyObject * | sddsdata_ClearPage (PyObject *self, PyObject *args) |
Clears the current page in an SDDS dataset. | |
static PyObject * | sddsdata_LengthenTable (PyObject *self, PyObject *args) |
Lengthens the table by adding additional rows. | |
static PyObject * | sddsdata_WritePage (PyObject *self, PyObject *args) |
Writes the current page of the dataset to the file. | |
static PyObject * | sddsdata_UpdatePage (PyObject *self, PyObject *args) |
Updates the page based on the specified mode. | |
static PyObject * | sddsdata_InitHeaderlessInput (PyObject *self, PyObject *args) |
Initializes a headerless input for a dataset file. | |
static PyObject * | sddsdata_ReadPage (PyObject *self, PyObject *args) |
Reads the current page from the dataset file. | |
static PyObject * | sddsdata_ReadPageSparse (PyObject *self, PyObject *args) |
Reads a sparse page from the dataset file. | |
static PyObject * | sddsdata_ReadPageLastRows (PyObject *self, PyObject *args) |
Reads the last rows of the current page from the dataset file. | |
static PyObject * | sddsdata_RowCount (PyObject *self, PyObject *args) |
Gets the number of rows in the dataset. | |
static PyObject * | sddsdata_SetColumnFlags (PyObject *self, PyObject *args) |
Sets the column flags for the dataset. | |
static PyObject * | sddsdata_SetRowFlags (PyObject *self, PyObject *args) |
Sets the row flags for the dataset. | |
static PyObject * | sddsdata_GetRowFlag (PyObject *self, PyObject *args) |
Gets the flag value for a specific row in the dataset. | |
static PyObject * | sddsdata_DeleteColumn (PyObject *self, PyObject *args) |
Deletes a column from the dataset. | |
static PyObject * | sddsdata_DeleteParameter (PyObject *self, PyObject *args) |
Deletes a parameter from the dataset. | |
static PyObject * | sddsdata_DeleteUnsetColumns (PyObject *self, PyObject *args) |
Deletes all unset columns in the dataset. | |
static PyObject * | sddsdata_DeleteUnsetRows (PyObject *self, PyObject *args) |
Deletes all unset rows in the dataset. | |
static PyObject * | sddsdata_ColumnCount (PyObject *self, PyObject *args) |
Gets the count of columns in the dataset. | |
static PyObject * | sddsdata_ArrayCount (PyObject *self, PyObject *args) |
Gets the count of arrays in the dataset. | |
static PyObject * | sddsdata_ParameterCount (PyObject *self, PyObject *args) |
Gets the count of parameters in the dataset. | |
static PyObject * | sddsdata_GetDescription (PyObject *self, PyObject *args) |
Gets the description (text and contents) of the dataset. | |
static PyObject * | sddsdata_GetDescriptionText (PyObject *self, PyObject *args) |
Retrieves the description text for a dataset. | |
static PyObject * | sddsdata_GetDescriptionContents (PyObject *self, PyObject *args) |
Retrieves the description contents for a dataset. | |
static PyObject * | sddsdata_NumberOfErrors (PyObject *self, PyObject *args) |
Returns the number of errors recorded. | |
static PyObject * | sddsdata_ClearErrors (PyObject *self, PyObject *args) |
Clears all recorded errors. | |
static PyObject * | sddsdata_SetError (PyObject *self, PyObject *args) |
Sets an error description. | |
static PyObject * | sddsdata_Bomb (PyObject *self, PyObject *args) |
Displays a message on stderr and exits the program. | |
static PyObject * | sddsdata_Warning (PyObject *self, PyObject *args) |
Displays a warning message on stderr. | |
static PyObject * | sddsdata_RegisterProgramName (PyObject *self, PyObject *args) |
Registers a program name for use in error messages. | |
static PyObject * | sddsdata_PrintErrors (PyObject *self, PyObject *args) |
Prints error messages based on the provided mode. | |
static PyObject * | sddsdata_TransferColumnDefinition (PyObject *self, PyObject *args) |
Transfers a column definition from one dataset to another. | |
static PyObject * | sddsdata_TransferArrayDefinition (PyObject *self, PyObject *args) |
Transfers an array definition from one dataset to another. | |
static PyObject * | sddsdata_TransferParameterDefinition (PyObject *self, PyObject *args) |
Transfers a parameter definition from one dataset to another. | |
static PyObject * | sddsdata_DefineColumnLikeParameter (PyObject *self, PyObject *args) |
Defines a column in one dataset based on a parameter in another dataset. | |
static PyObject * | sddsdata_DefineParameterLikeColumn (PyObject *self, PyObject *args) |
Defines a parameter in one dataset based on a column in another dataset. | |
static PyObject * | sddsdata_TransferAllColumnDefinitions (PyObject *self, PyObject *args) |
Transfers all column definitions from one dataset to another. | |
static PyObject * | sddsdata_TransferAllArrayDefinitions (PyObject *self, PyObject *args) |
Transfers all array definitions from one dataset to another. | |
static PyObject * | sddsdata_TransferAllParameterDefinitions (PyObject *self, PyObject *args) |
Transfers all parameter definitions from one dataset to another. | |
static PyObject * | sddsdata_GetColumnIndex (PyObject *self, PyObject *args) |
Retrieves the index of a column in a dataset. | |
static PyObject * | sddsdata_GetArrayIndex (PyObject *self, PyObject *args) |
Retrieves the index of an array in a dataset. | |
static PyObject * | sddsdata_GetParameterIndex (PyObject *self, PyObject *args) |
Retrieves the index of a parameter in a dataset. | |
static PyObject * | sddsdata_GetColumnType (PyObject *self, PyObject *args) |
Retrieves the type of a column in a dataset. | |
static PyObject * | sddsdata_GetArrayType (PyObject *self, PyObject *args) |
Retrieves the type of an array in a dataset. | |
static PyObject * | sddsdata_GetNamedColumnType (PyObject *self, PyObject *args) |
Retrieves the type of a column by name in a dataset. | |
static PyObject * | sddsdata_GetNamedArrayType (PyObject *self, PyObject *args) |
Retrieves the type of an array by name in a dataset. | |
static PyObject * | sddsdata_GetColumnDefinition (PyObject *self, PyObject *args) |
Retrieves the definition of a column in a dataset. | |
static PyObject * | sddsdata_GetArrayDefinition (PyObject *self, PyObject *args) |
Retrieves the definition of an array in a dataset. | |
static PyObject * | sddsdata_GetParameterType (PyObject *self, PyObject *args) |
Retrieves the type of a parameter in a dataset. | |
static PyObject * | sddsdata_GetNamedParameterType (PyObject *self, PyObject *args) |
Retrieves the type of a parameter by name in a dataset. | |
static PyObject * | sddsdata_GetParameterDefinition (PyObject *self, PyObject *args) |
Retrieves the definition of a parameter in a dataset. | |
static PyObject * | sddsdata_GetTypeSize (PyObject *self, PyObject *args) |
Retrieves the size of a given SDDS data type. | |
static PyObject * | sddsdata_GetTypeName (PyObject *self, PyObject *args) |
Retrieves the name of a given SDDS data type. | |
static PyObject * | sddsdata_IdentifyType (PyObject *self, PyObject *args) |
Identifies the SDDS data type for a given type name. | |
static PyObject * | sddsdata_CheckColumn (PyObject *self, PyObject *args) |
Verifies the existence and type of a column in a dataset. | |
static PyObject * | sddsdata_CheckArray (PyObject *self, PyObject *args) |
Verifies the existence and type of an array in a dataset. | |
static PyObject * | sddsdata_CheckParameter (PyObject *self, PyObject *args) |
Verifies the existence and type of a parameter in a dataset. | |
static PyObject * | sddsdata_HasWhitespace (PyObject *self, PyObject *args) |
Determines if a string contains whitespace. | |
static PyObject * | sddsdata_StringIsBlank (PyObject *self, PyObject *args) |
Checks if a string is blank. | |
static PyObject * | sddsdata_ApplyFactorToParameter (PyObject *self, PyObject *args) |
Applies a scaling factor to a parameter in a dataset. | |
static PyObject * | sddsdata_ApplyFactorToColumn (PyObject *self, PyObject *args) |
Applies a scaling factor to a column in a dataset. | |
static PyObject * | sddsdata_DeleteParameterFixedValues (PyObject *self, PyObject *args) |
Deletes fixed parameter values for a given dataset. | |
static PyObject * | sddsdata_SetDataMode (PyObject *self, PyObject *args) |
Sets the data mode for a given dataset. | |
static PyObject * | sddsdata_CheckDataset (PyObject *self, PyObject *args) |
Checks the validity of a dataset. | |
static PyObject * | sddsdata_SetAutoCheckMode (PyObject *self, PyObject *args) |
Sets the auto-check mode for datasets. | |
static PyObject * | sddsdata_GetColumnNameFromIndex (PyObject *self, PyObject *args) |
Retrieves a column name by its index from a dataset. | |
static PyObject * | sddsdata_GetColumnNames (PyObject *self, PyObject *args) |
Retrieves all column names from a dataset. | |
static PyObject * | sddsdata_GetArrayNameFromIndex (PyObject *self, PyObject *args) |
Retrieves an array name by its index from a dataset. | |
static PyObject * | sddsdata_GetArrayNames (PyObject *self, PyObject *args) |
Retrieves all array names from a dataset. | |
static PyObject * | sddsdata_GetParameterNameFromIndex (PyObject *self, PyObject *args) |
Retrieves a parameter name by its index from a dataset. | |
static PyObject * | sddsdata_GetParameterNames (PyObject *self, PyObject *args) |
Retrieves all parameter names from a dataset. | |
static PyObject * | sddsdata_SetParameter (PyObject *self, PyObject *args) |
Sets a parameter value in a dataset by index or name. | |
static PyObject * | sddsdata_SetArray (PyObject *self, PyObject *args) |
Sets an array value in a dataset. | |
static PyObject * | sddsdata_SetColumn (PyObject *self, PyObject *args) |
Sets a column value in a dataset. | |
static PyObject * | sddsdata_SetRowValues (PyObject *self, PyObject *args) |
Sets values for a specific row in a dataset. | |
static PyObject * | sddsdata_GetColumn (PyObject *self, PyObject *args) |
Retrieves a column's data from a dataset. | |
static PyObject * | sddsdata_GetArray (PyObject *self, PyObject *args) |
Retrieves an array's data from a dataset. | |
static PyObject * | sddsdata_GetArrayDimensions (PyObject *self, PyObject *args) |
Retrieves the dimensions of an array in a dataset. | |
static PyObject * | sddsdata_GetParameter (PyObject *self, PyObject *args) |
Retrieves the value of a parameter from a dataset. | |
static PyObject * | sddsdata_GetMode (PyObject *self, PyObject *args) |
Retrieves the data mode of a dataset. | |
void | initsddsdata (void) |
Variables | |
SDDS_DATASET | dataset_f [20] |
Array of SDDS dataset structures. | |
static struct module_state | _state |
static PyMethodDef | sddsdata_methods [] |
Python C extension module (sddsdata) for interfacing with the C language SDDS library.
This file provides a set of Python bindings to the SDDS library for handling scientific data in the Self-Describing Data Sets (SDDS) format.
Definition in file sddsdatamodule.c.
#define GETSTATE | ( | m | ) |
Definition at line 3564 of file sddsdatamodule.c.
#define INITERROR return |
Definition at line 3720 of file sddsdatamodule.c.
#define PyInt_AsLongLong PyInt_AsLong |
Definition at line 26 of file sddsdatamodule.c.
#define PyInt_AsUnsignedLong PyInt_AsUnsignedLongMask |
Definition at line 25 of file sddsdatamodule.c.
#define PyInt_AsUnsignedLongLong PyInt_AsUnsignedLongLongMask |
Definition at line 24 of file sddsdatamodule.c.
void initsddsdata | ( | void | ) |
Definition at line 3727 of file sddsdatamodule.c.
|
static |
Appends the layout of one SDDS dataset to another.
self | Unused. |
args | A tuple containing:
|
Definition at line 747 of file sddsdatamodule.c.
|
static |
Applies a scaling factor to a column in a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 2249 of file sddsdatamodule.c.
|
static |
Applies a scaling factor to a parameter in a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 2228 of file sddsdatamodule.c.
|
static |
Gets the count of arrays in the dataset.
self | Python object (unused). |
args | Python arguments tuple containing:
|
Definition at line 1327 of file sddsdatamodule.c.
|
static |
Displays a message on stderr and exits the program.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 1491 of file sddsdatamodule.c.
|
static |
Verifies the existence and type of an array in a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 2149 of file sddsdatamodule.c.
|
static |
Verifies the existence and type of a column in a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 2126 of file sddsdatamodule.c.
|
static |
Checks the validity of a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 2314 of file sddsdatamodule.c.
|
static |
Verifies the existence and type of a parameter in a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 2172 of file sddsdatamodule.c.
|
static |
Clears all recorded errors.
self | Python object (unused). |
args | Python tuple (unused). |
Definition at line 1457 of file sddsdatamodule.c.
|
static |
Clears the current page in an SDDS dataset.
self | Unused. |
args | A tuple containing:
|
Definition at line 991 of file sddsdatamodule.c.
|
static |
Gets the count of columns in the dataset.
self | Python object (unused). |
args | Python arguments tuple containing:
|
Definition at line 1311 of file sddsdatamodule.c.
|
static |
Copies additional rows from one SDDS dataset to another.
self | Unused. |
args | A tuple containing:
|
Definition at line 895 of file sddsdatamodule.c.
|
static |
Copies arrays from one SDDS dataset to another.
self | Unused. |
args | A tuple containing:
|
Definition at line 807 of file sddsdatamodule.c.
|
static |
Copies columns from one SDDS dataset to another.
self | Unused. |
args | A tuple containing:
|
Definition at line 827 of file sddsdatamodule.c.
|
static |
Copies the layout from one SDDS dataset to another.
self | Unused. |
args | A tuple containing:
|
Definition at line 727 of file sddsdatamodule.c.
|
static |
Copies a page from one SDDS dataset to another.
self | Unused. |
args | A tuple containing:
|
Definition at line 767 of file sddsdatamodule.c.
|
static |
Copies parameters from one SDDS dataset to another.
self | Unused. |
args | A tuple containing:
|
Definition at line 787 of file sddsdatamodule.c.
|
static |
Copies a row from one SDDS dataset to another.
self | Unused. |
args | A tuple containing:
|
Definition at line 849 of file sddsdatamodule.c.
|
static |
Directly copies a row from one SDDS dataset to another.
self | Unused. |
args | A tuple containing:
|
Definition at line 873 of file sddsdatamodule.c.
|
static |
Defers saving the layout of an SDDS dataset.
self | Unused. |
args | A tuple containing:
|
Definition at line 915 of file sddsdatamodule.c.
|
static |
Defines an array in an SDDS dataset.
self | Unused. |
args | A tuple containing:
|
Definition at line 391 of file sddsdatamodule.c.
|
static |
Defines a column in an SDDS dataset.
self | Unused. |
args | A tuple containing:
|
Definition at line 440 of file sddsdatamodule.c.
|
static |
Defines a column in one dataset based on a parameter in another dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 1639 of file sddsdatamodule.c.
|
static |
Defines a parameter in an SDDS dataset.
self | Unused pointer to the module object. |
args | Python tuple containing:
|
Definition at line 302 of file sddsdatamodule.c.
|
static |
Defines a parameter in one dataset based on a column in another dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 1662 of file sddsdatamodule.c.
|
static |
Defines a simple array in an SDDS dataset.
self | Unused. |
args | A tuple containing:
|
Definition at line 539 of file sddsdatamodule.c.
|
static |
Defines a simple column in an SDDS dataset.
self | Unused. |
args | A tuple containing:
|
Definition at line 511 of file sddsdatamodule.c.
|
static |
Defines a simple parameter in an SDDS dataset.
self | Unused. |
args | A tuple containing:
|
Definition at line 574 of file sddsdatamodule.c.
|
static |
Deletes a column from the dataset.
self | Python object (unused). |
args | Python arguments tuple containing:
|
Definition at line 1238 of file sddsdatamodule.c.
|
static |
Deletes a parameter from the dataset.
self | Python object (unused). |
args | Python arguments tuple containing:
|
Definition at line 1258 of file sddsdatamodule.c.
|
static |
Deletes fixed parameter values for a given dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 2271 of file sddsdatamodule.c.
|
static |
Deletes all unset columns in the dataset.
self | Python object (unused). |
args | Python arguments tuple containing:
|
Definition at line 1277 of file sddsdatamodule.c.
|
static |
Deletes all unset rows in the dataset.
self | Python object (unused). |
args | Python arguments tuple containing:
|
Definition at line 1295 of file sddsdatamodule.c.
|
static |
Disables filesystem synchronization (fsync) for an SDDS dataset.
self | Unused pointer to the module object. |
args | Python tuple containing:
|
Definition at line 235 of file sddsdatamodule.c.
|
static |
Enables filesystem synchronization (fsync) for an SDDS dataset.
self | Unused pointer to the module object. |
args | Python tuple containing:
|
Definition at line 215 of file sddsdatamodule.c.
|
static |
Erases data from an SDDS dataset.
self | Unused. |
args | A tuple containing:
|
Definition at line 616 of file sddsdatamodule.c.
|
static |
Retrieves an array's data from a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 3242 of file sddsdatamodule.c.
|
static |
Retrieves the definition of an array in a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 1926 of file sddsdatamodule.c.
|
static |
Retrieves the dimensions of an array in a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 3374 of file sddsdatamodule.c.
|
static |
Retrieves the index of an array in a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 1765 of file sddsdatamodule.c.
|
static |
Retrieves an array name by its index from a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 2428 of file sddsdatamodule.c.
|
static |
Retrieves all array names from a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 2466 of file sddsdatamodule.c.
|
static |
Retrieves the type of an array in a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 1822 of file sddsdatamodule.c.
|
static |
Retrieves a column's data from a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 3102 of file sddsdatamodule.c.
|
static |
Retrieves the definition of a column in a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 1879 of file sddsdatamodule.c.
|
static |
Retrieves the index of a column in a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 1746 of file sddsdatamodule.c.
|
static |
Retrieves a column name by its index from a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 2354 of file sddsdatamodule.c.
|
static |
Retrieves all column names from a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 2392 of file sddsdatamodule.c.
|
static |
Retrieves the type of a column in a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 1803 of file sddsdatamodule.c.
|
static |
Gets the description (text and contents) of the dataset.
self | Python object (unused). |
args | Python arguments tuple containing:
|
Definition at line 1361 of file sddsdatamodule.c.
|
static |
Retrieves the description contents for a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 1422 of file sddsdatamodule.c.
|
static |
Retrieves the description text for a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 1398 of file sddsdatamodule.c.
|
static |
Retrieves the data mode of a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 3548 of file sddsdatamodule.c.
|
static |
Retrieves the type of an array by name in a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 1860 of file sddsdatamodule.c.
|
static |
Retrieves the type of a column by name in a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 1841 of file sddsdatamodule.c.
|
static |
Retrieves the type of a parameter by name in a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 1997 of file sddsdatamodule.c.
|
static |
Retrieves the value of a parameter from a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 3439 of file sddsdatamodule.c.
|
static |
Retrieves the definition of a parameter in a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 2016 of file sddsdatamodule.c.
|
static |
Retrieves the index of a parameter in a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 1784 of file sddsdatamodule.c.
|
static |
Retrieves a parameter name by its index from a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 2502 of file sddsdatamodule.c.
|
static |
Retrieves all parameter names from a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 2540 of file sddsdatamodule.c.
|
static |
Retrieves the type of a parameter in a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 1978 of file sddsdatamodule.c.
|
static |
Gets the flag value for a specific row in the dataset.
self | Pointer to the Python self object. |
args | Tuple containing:
|
Definition at line 1218 of file sddsdatamodule.c.
|
static |
Retrieves the name of a given SDDS data type.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 2082 of file sddsdatamodule.c.
|
static |
Retrieves the size of a given SDDS data type.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 2065 of file sddsdatamodule.c.
|
static |
Determines if a string contains whitespace.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 2192 of file sddsdatamodule.c.
|
static |
Identifies the SDDS data type for a given type name.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 2106 of file sddsdatamodule.c.
|
static |
Initializes a headerless input for a dataset file.
self | Pointer to the Python self object. |
args | Tuple containing:
|
Definition at line 1071 of file sddsdatamodule.c.
|
static |
Initializes an SDDS dataset for appending data to a file.
self | Unused pointer to the module object. |
args | Python tuple containing:
|
Definition at line 71 of file sddsdatamodule.c.
|
static |
Initializes appending data to an existing SDDS page in a file.
self | Unused pointer to the module object. |
args | Python tuple containing:
|
Definition at line 94 of file sddsdatamodule.c.
|
static |
Initializes a copy from one SDDS dataset to another.
self | Unused. |
args | A tuple containing:
|
Definition at line 702 of file sddsdatamodule.c.
|
static |
Initializes an SDDS dataset for input from a file.
self | Unused pointer to the module object. |
args | Python tuple containing:
|
Definition at line 49 of file sddsdatamodule.c.
|
static |
Initializes an SDDS dataset for output to a file.
self | Unused pointer to the module object. |
args | Python tuple containing:
|
Definition at line 125 of file sddsdatamodule.c.
|
static |
Validates a name for SDDS compatibility.
self | Unused. |
args | A tuple containing:
|
Definition at line 477 of file sddsdatamodule.c.
|
static |
Lengthens the table by adding additional rows.
self | Pointer to the Python self object. |
args | Tuple containing:
|
Definition at line 1011 of file sddsdatamodule.c.
|
static |
Returns the number of errors recorded.
self | Python object (unused). |
args | Python tuple (unused). |
Definition at line 1445 of file sddsdatamodule.c.
|
static |
Gets the count of parameters in the dataset.
self | Python object (unused). |
args | Python arguments tuple containing:
|
Definition at line 1343 of file sddsdatamodule.c.
|
static |
Prints error messages based on the provided mode.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 1548 of file sddsdatamodule.c.
|
static |
Processes an array definition string.
self | Unused. |
args | A tuple containing:
|
Definition at line 658 of file sddsdatamodule.c.
|
static |
Processes a column definition string.
self | Unused. |
args | A tuple containing:
|
Definition at line 637 of file sddsdatamodule.c.
|
static |
Processes a parameter definition string.
self | Unused. |
args | A tuple containing:
|
Definition at line 679 of file sddsdatamodule.c.
|
static |
Reads the current page from the dataset file.
self | Pointer to the Python self object. |
args | Tuple containing:
|
Definition at line 1092 of file sddsdatamodule.c.
|
static |
Reads the last rows of the current page from the dataset file.
self | Pointer to the Python self object. |
args | Tuple containing:
|
Definition at line 1137 of file sddsdatamodule.c.
|
static |
Reads a sparse page from the dataset file.
self | Pointer to the Python self object. |
args | Tuple containing:
|
Definition at line 1114 of file sddsdatamodule.c.
|
static |
Registers a program name for use in error messages.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 1529 of file sddsdatamodule.c.
|
static |
Restores the layout of an SDDS dataset.
self | Unused. |
args | A tuple containing:
|
Definition at line 953 of file sddsdatamodule.c.
|
static |
Gets the number of rows in the dataset.
self | Pointer to the Python self object. |
args | Tuple containing:
|
Definition at line 1156 of file sddsdatamodule.c.
|
static |
Saves the layout of an SDDS dataset.
self | Unused. |
args | A tuple containing:
|
Definition at line 935 of file sddsdatamodule.c.
|
static |
Sets an array value in a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 2652 of file sddsdatamodule.c.
|
static |
Sets the auto-check mode for datasets.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 2333 of file sddsdatamodule.c.
|
static |
Sets a column value in a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 2853 of file sddsdatamodule.c.
|
static |
Sets the column flags for the dataset.
self | Pointer to the Python self object. |
args | Tuple containing:
|
Definition at line 1176 of file sddsdatamodule.c.
|
static |
Sets the data order for the SDDS dataset to column-major.
self | Unused pointer to the module object. |
args | Python tuple containing:
|
Definition at line 155 of file sddsdatamodule.c.
|
static |
Sets the data mode for a given dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 2292 of file sddsdatamodule.c.
|
static |
Sets an error description.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 1472 of file sddsdatamodule.c.
|
static |
Sets the row count mode for an SDDS dataset to fixed row count mode.
self | Unused pointer to the module object. |
args | Python tuple containing:
|
Definition at line 175 of file sddsdatamodule.c.
|
static |
Sets name validity flags to allow any name.
self | Unused. |
args | Unused. |
Definition at line 494 of file sddsdatamodule.c.
|
static |
Sets a parameter value in a dataset by index or name.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 2577 of file sddsdatamodule.c.
|
static |
Sets the row flags for the dataset.
self | Pointer to the Python self object. |
args | Tuple containing:
|
Definition at line 1197 of file sddsdatamodule.c.
|
static |
Sets the data order for the SDDS dataset to row-major.
self | Unused pointer to the module object. |
args | Python tuple containing:
|
Definition at line 195 of file sddsdatamodule.c.
|
static |
Sets values for a specific row in a dataset.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 3015 of file sddsdatamodule.c.
|
static |
Sets the termination mode for SDDS to avoid freeing strings in arrays and tables.
Sets the termination mode to TERMINATE_DONT_FREE_ARRAY_STRINGS
and TERMINATE_DONT_FREE_TABLE_STRINGS
.
self | Unused pointer to the module object. |
args | Unused. |
Definition at line 277 of file sddsdatamodule.c.
|
static |
Starts a page in an SDDS dataset.
self | Unused. |
args | A tuple containing:
|
Definition at line 972 of file sddsdatamodule.c.
|
static |
Checks if a string is blank.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 2209 of file sddsdatamodule.c.
|
static |
Terminates an SDDS dataset, releasing any associated resources.
self | Unused pointer to the module object. |
args | Python tuple containing:
|
Definition at line 256 of file sddsdatamodule.c.
|
static |
Transfers all array definitions from one dataset to another.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 1705 of file sddsdatamodule.c.
|
static |
Transfers all column definitions from one dataset to another.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 1684 of file sddsdatamodule.c.
|
static |
Transfers all parameter definitions from one dataset to another.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 1726 of file sddsdatamodule.c.
|
static |
Transfers an array definition from one dataset to another.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 1593 of file sddsdatamodule.c.
|
static |
Transfers a column definition from one dataset to another.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 1570 of file sddsdatamodule.c.
|
static |
Transfers a parameter definition from one dataset to another.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 1616 of file sddsdatamodule.c.
|
static |
Updates the page based on the specified mode.
self | Pointer to the Python self object. |
args | Tuple containing:
|
Definition at line 1051 of file sddsdatamodule.c.
|
static |
Displays a warning message on stderr.
self | Python object (unused). |
args | Python tuple containing:
|
Definition at line 1510 of file sddsdatamodule.c.
|
static |
Writes the layout of an SDDS dataset.
self | Unused. |
args | A tuple containing:
|
Definition at line 598 of file sddsdatamodule.c.
|
static |
Writes the current page of the dataset to the file.
self | Pointer to the Python self object. |
args | Tuple containing:
|
Definition at line 1031 of file sddsdatamodule.c.
|
static |
Definition at line 3565 of file sddsdatamodule.c.
SDDS_DATASET dataset_f[20] |
Array of SDDS dataset structures.
This array maintains a collection of SDDS_DATASET structures that correspond to files being managed by the SDDS library.
Definition at line 35 of file sddsdatamodule.c.
|
static |
Definition at line 3568 of file sddsdatamodule.c.