RAVE
|
Python version of the detection range API. More...
#include "pyravecompat.h"
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include "pyrave_debug.h"
#include "pydetectionrange.h"
#include "pypolarvolume.h"
#include "pypolarscan.h"
#include "pyravefield.h"
#include "rave_alloc.h"
#include "raveutil.h"
#include "rave.h"
Macros | |
#define | NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION |
#define | PYDETECTIONRANGE_MODULE |
to get correct part of pydetectionrange.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 ("_pydetectionrange") | |
Debug this module. | |
PyDoc_STRVAR (_pydetectionrange_module_doc, "Provides an algorithm for calculating probability of overshooting. There are 3 member attributes that can be set:\n" " lookupPath - The lookup path where the cache files are stored.\n" " analysis_minrange - Min radial range during the analysis stage in meters. Default is 10000.\n" " analysis_maxrange - Max radial range during the analysis stage in meters. Default is 240000.\n" "Usage:\n" " import _detectionrange\n" " generator = _detectionrange.new()\n" " pvol = _raveio.open(\"somepvol.h5\").object\n" " maxscan = pvol.getScanWithMaxDistance()\n" " top = generator.top(pvol, maxscan.rscale, -40.0)\n" " filtered = generator.filter(top)\n" " poofield = generator.analyze(filtered, 60.0, 0.1, 0.35)") | |
MOD_INIT (_detectionrange) | |
Variables | |
PyTypeObject | PyDetectionRange_Type |
Python version of the detection range API.
#define PYDETECTIONRANGE_MODULE |
to get correct part of pydetectionrange.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 | ( | "_pydetectionrange" | ) |
Debug this module.