20 #ifndef _LALMATHEMATICA_H
21 #define _LALMATHEMATICA_H
26 #include <lal/LALStdlib.h>
28 #if defined(__cplusplus)
102 #define LALMATHEMATICAH_ENULL 1
103 #define LALMATHEMATICAH_EFILE 2
104 #define LALMATHEMATICAH_EVAL 3
108 #define LALMATHEMATICAH_MSGENULL "NULL pointer to a LALMathematica.h input structure"
109 #define LALMATHEMATICAH_MSGEFILE "Could not open file to write a Mathematica Notebook"
110 #define LALMATHEMATICAH_MSGEVAL "Invalid parameter value"
145 #define BEG_NOTEBOOK fprintf(nb, "Notebook[{\n")
146 #define END_NOTEBOOK fprintf(nb, "}]\n")
147 #define BEG_TITLECELL fprintf(nb, "Cell[\"")
148 #define END_TITLECELL fprintf(nb, "\", \"Title\"],\n")
149 #define END_TITLECELL_ fprintf(nb, "\", \"Title\"]\n")
150 #define BEG_GROUPCELL fprintf(nb, "Cell[CellGroupData[{\n")
151 #define END_GROUPCELLC fprintf(nb, "}, Closed ]],\n")
152 #define END_GROUPCELLC_ fprintf(nb, "}, Closed ]]\n")
153 #define BEG_SECTIONCELL fprintf(nb, "Cell[\"")
154 #define END_SECTIONCELL fprintf(nb, "\", \"Section\"],\n")
155 #define END_SECTIONCELL_ fprintf(nb, "\", \"Section\"]\n")
156 #define BEG_INPUTCELL fprintf(nb, "Cell[BoxData[\\(")
157 #define END_INPUTCELL fprintf(nb, "\\)], \"Input\"],\n")
158 #define END_INPUTCELL_ fprintf(nb, "\\)], \"Input\"]\n")
159 #define BEG_TEXTCELL fprintf(nb, "Cell[\"\\<")
160 #define END_TEXTCELL fprintf(nb, "\\>\", \"Text\"],\n")
161 #define END_TEXTCELL_ fprintf(nb, "\\>\", \"Text\"]\n")
174 typedef struct tagMath3DPointList{
175 struct tagMath3DPointList *
next;
186 typedef struct tagMathNDPointList{
187 struct tagMathNDPointList *
next;
209 #elif defined(__cplusplus)
int32_t INT4
Four-byte signed integer.
float REAL4
Single precision real floating-point number (4 bytes).
void LALMath3DPlot(LALStatus *status, Math3DPointList *first, INT4 *ntiles, REAL4 *pointSize)
This function is for plotting 3D template banks by creating a MATHEMATICA notebook.
void LALMathNDPlot(LALStatus *status, MathNDPointList *first, INT4 *ntiles, REAL4 *pointSize)
This function is for plotting N-Dimensional template banks by creating a MATHEMATICA notebook.
LAL status structure, see The LALStatus structure for more details.
This type is used by LALMath3DPlot.c as an input structure to plot 3-dimensional template banks.
struct tagMath3DPointList * next
This type is similar to Math3DPointList except the coordinates are stored as data in the REAL4Vector ...
REAL4Vector * coordinates
struct tagMathNDPointList * next
Vector of type REAL4, see DATATYPE-Vector types for more details.