spacepy.lib¶
Support for fast C-based versions of spacepy routines.
To add functions, put a .c file containing the desired functions in the libspacepy directory. Any functions for export to python should be added to the functions dictionary below. These functions will be callable as attributes of spacepy.lib. If the C library is not found, spacepy.lib.have_libspacepy will be False. See Poppy for an example.
Authors: Jon Niehof Institution: Los Alamos National Laboratory Contact: jniehof@lanl.gov
Copyright 2010-2014 Los Alamos National Security, LLC.
Attributes
- spacepy.lib.dptr = <class 'spacepy.lib.LP_c_double'>¶
alias of LP_c_double
- spacepy.lib.ulptr = <class 'spacepy.lib.LP_c_ulong'>¶
alias of LP_c_ulong
- spacepy.lib.lptr = <class 'spacepy.lib.LP_c_long'>¶
alias of LP_c_long