Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

pyNLLoc: Python functions for NonLinLoc and Scat2Angle

Project description

Python module for running NonLinLoc, including on a cluster, as well as providing utilities for converting location scatter files into angle distributions.

Code by David J Pugh

pyNLLoc

This is a Python module for running NonLinLoc, including on a cluster, as well as providing utilities for converting location scatter files into angle distributions. The angle conversion utilities, Scat2Angle and XYZ2Angle require the C++ program, GetNLLOCScatterAngles to be compiled.

This module provides
pyNLLoc - Rrunning NLLoc using python Scat2Angle - Convert location scatter distribution to angle distribution XYZ2Angle - Calculates the angles for given x, y, z coordinates

Compiling GetNLLOCScatterAngles

GetNLLOCScatterAngles is compiled from source, either using the makefile or the script make_angles.sh.

This compiles the GetAngles.cpp file, which is dependent on some NonLinLoc files, these are included in the folder NLLoc_code, but it is equally possible to use another NLLoc source directory by setting the NLLOC_PATH in the makefile (or script). It is recommended to use the latest NLLoc source code, but it is important to note that as of 17/12/2015 Version 6.00 has a bug in GridLib.c related to angle interpolation, so a fixed versin of GridLib.c is provided in the pyNLLoc distribution. This is fixed as of 20130823 in beta version, but may not be fixed in the latest release.

Project details


Release history Release notifications

This version
History Node

1.0.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pyNLLoc-1.0.0-py2.py3-none-any.whl (184.2 kB) Copy SHA256 hash SHA256 Wheel 2.7 Jan 5, 2016
pyNLLoc-1.0.0.tar.gz (166.7 kB) Copy SHA256 hash SHA256 Source None Jan 5, 2016
pyNLLoc-1.0.0.win-amd64.exe (526.6 kB) Copy SHA256 hash SHA256 Windows Installer any Jan 5, 2016
pyNLLoc-1.0.0.zip (185.3 kB) Copy SHA256 hash SHA256 Source None Jan 5, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page