n_sphere package¶
Submodules¶
n_sphere.discrep_2 module¶
n_sphere.halton_n module¶
n_sphere.skeleton module¶
This is a skeleton file that can serve as a starting point for a Python console script. To run this script uncomment the following lines in the [options.entry_points] section in setup.cfg:
- console_scripts =
- fibonacci = n_sphere.skeleton:run
Then run python setup.py install which will install the command fibonacci inside your current environment. Besides console scripts, the header (i.e. until _logger…) of this file can also be used as template for Python modules.
Note: This skeleton file can be safely removed if not needed!
-
n_sphere.skeleton.
fib
(n)[source]¶ Fibonacci example function
Parameters: n (int) – integer Returns: n-th Fibonacci number Return type: int
-
n_sphere.skeleton.
main
(args)[source]¶ Main entry point allowing external calls
Parameters: args ([str]) – command line parameter list
-
n_sphere.skeleton.
parse_args
(args)[source]¶ Parse command line parameters
Parameters: args ([str]) – command line parameters as list of strings Returns: command line parameters namespace Return type: argparse.Namespace
n_sphere.sphere module¶
n_sphere.sphere3 module¶
n_sphere.sphere_n module¶
-
class
n_sphere.sphere_n.
cylin_n
(n, b)[source]¶ Bases:
object
Generate using cylindrical coordinate method
Parameters: Returns: base-b low discrepancy sequence
Return type: ([float])