RAVE
|
Python version of the RaveData2D API. More...
#include "pyravecompat.h"
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include "pyrave_debug.h"
#include "pyravedata2d.h"
#include <arrayobject.h>
#include "rave_alloc.h"
#include "raveutil.h"
#include "rave.h"
Macros | |
#define | NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION |
#define | PYRAVEDATA2D_MODULE |
to get correct part of pyravedata2d.h | |
#define | raiseException_gotoTag(tag, type, msg) |
Sets a python exception and goto tag. | |
#define | raiseException_returnNULL(type, msg) |
Sets a python exception and return NULL. | |
Functions | |
PYRAVE_DEBUG_MODULE ("_ravedata2d") | |
Debug this module. | |
MOD_DIR_FORWARD_DECLARE (PyRaveData2D) | |
PyDoc_STRVAR (_pyravedata2d_type_doc, "Defines a 2 dimensional data field that can be used within rave. Most classes uses this data field as underlying container\n" "It requires a numpy array for initializing data field with proper x & ysize which are read only. The members are:\n" "xsize - xsize of data field (read only)\n" "ysize - ysize of data field (read only)\n" "datatype - data type (read only)\n" "nodata - nodata value to use (if useNodata has been set to True)\n" "useNodata - If nodata value should be used in calculation or not. Like using NaN in for example matlab.\n" "\n" "Usage:\n" " import _ravedata2d, numpy\n" " dfield = _ravedata2d.new(numpy.array([[1,2],[3,4]],numpy.uint8))") | |
MOD_INIT (_ravedata2d) | |
Variables | |
PyTypeObject | PyRaveData2D_Type |
Python version of the RaveData2D API.
#define PYRAVEDATA2D_MODULE |
to get correct part of pyravedata2d.h
#define raiseException_gotoTag | ( | tag, | |
type, | |||
msg ) |
Sets a python exception and goto tag.
#define raiseException_returnNULL | ( | type, | |
msg ) |
Sets a python exception and return NULL.
PYRAVE_DEBUG_MODULE | ( | "_ravedata2d" | ) |
Debug this module.