SDDS ToolKit Programs and Libraries for C and Python
|
Array Dereferencing Tool for SDDS Data Sets.
This program performs array dereferencing on SDDS (Self Describing Data Sets) data files. Users can create new columns or parameters by indexing into existing array or column data. It supports customizable behavior for handling out-of-bounds indices and allows specifying the order of data processing (row-major or column-major).
Option | Description |
---|---|
-pipe | Use standard input and/or output instead of files. |
-column | Define a new column by dereferencing an existing array or column. |
-parameter | Define a new parameter by dereferencing an existing array or column. |
-constant | Define a new constant by dereferencing an existing array or column. |
-outOfBounds | Specify behavior for out-of-bounds indices: exit the program or delete the row. |
-majorOrder | Specify the major order for processing: row or column . |
Definition in file sddsderef.c.
Go to the source code of this file.
Functions | |
long | DereferenceColumnWithParameter (SDDS_DATASET *outSet, DEREF_REQUEST *deref, unsigned long outOfBounds) |
long | DereferenceColumnWithColumn (SDDS_DATASET *outSet, DEREF_REQUEST *deref, unsigned long outOfBounds) |
long | DereferenceArrayWithParameter (SDDS_DATASET *outSet, DEREF_REQUEST *deref, unsigned long outOfBounds) |
long | DereferenceArrayWithColumn (SDDS_DATASET *outSet, DEREF_REQUEST *deref, unsigned long outOfBounds) |
long | DoDereferencing (SDDS_DATASET *outSet, DEREF_REQUEST *deref, long derefs, unsigned long outOfBounds) |
void | setupOutputFile (SDDS_DATASET *outSet, char *output, SDDS_DATASET *inSet, char *input, DEREF_REQUEST *deref, long derefs, short columnMajorOrder) |
void | addDerefRequest (DEREF_REQUEST **deref, long *derefs, char **argv, long argc, long class) |
int | main (int argc, char **argv) |
void addDerefRequest | ( | DEREF_REQUEST ** | deref, |
long * | derefs, | ||
char ** | argv, | ||
long | argc, | ||
long | class ) |
Definition at line 289 of file sddsderef.c.
long DereferenceArrayWithColumn | ( | SDDS_DATASET * | outSet, |
DEREF_REQUEST * | deref, | ||
unsigned long | outOfBounds ) |
Definition at line 485 of file sddsderef.c.
long DereferenceArrayWithParameter | ( | SDDS_DATASET * | outSet, |
DEREF_REQUEST * | deref, | ||
unsigned long | outOfBounds ) |
Definition at line 433 of file sddsderef.c.
long DereferenceColumnWithColumn | ( | SDDS_DATASET * | outSet, |
DEREF_REQUEST * | deref, | ||
unsigned long | outOfBounds ) |
Definition at line 548 of file sddsderef.c.
long DereferenceColumnWithParameter | ( | SDDS_DATASET * | outSet, |
DEREF_REQUEST * | deref, | ||
unsigned long | outOfBounds ) |
Definition at line 391 of file sddsderef.c.
long DoDereferencing | ( | SDDS_DATASET * | outSet, |
DEREF_REQUEST * | deref, | ||
long | derefs, | ||
unsigned long | outOfBounds ) |
Definition at line 348 of file sddsderef.c.
int main | ( | int | argc, |
char ** | argv ) |
Definition at line 109 of file sddsderef.c.
void setupOutputFile | ( | SDDS_DATASET * | outSet, |
char * | output, | ||
SDDS_DATASET * | inSet, | ||
char * | input, | ||
DEREF_REQUEST * | deref, | ||
long | derefs, | ||
short | columnMajorOrder ) |
Definition at line 206 of file sddsderef.c.