Skip to content

Releases: pbrod/nvector

Final release version 1.0.2

04 Oct 14:50
Compare
Choose a tag to compare

Final release version 1.0.1

03 Oct 15:46
Compare
Choose a tag to compare

Final release version 0.7.7

22 Jun 13:59
Compare
Choose a tag to compare

Changelog

Version 0.7.7, June 3, 2021

Per A Brodtkorb (27):
* Added cartopy and matplotlib to requirements.txt
* Updated appveyor.yml, setup.cfg and setup.py
* Updated .gitignore to ignore .pytest_cache
* Corrected failing doctests in objects.py
* Updated version in _installation.py
* Updated failing docstrings for python 2.7 in objects.py.
* Added '# doctest: SKIP' to all plt.show() in order to avoid the doctests hangs on the testserver.
* Fixed a bug in _info_functional.py
* Updated pycodestyle exlude section in setup.cfg Prettified _examples.py, examples_object_oriented.py and core.py
* Updated pycodestyle ignore section in setup.cfg
* Added doctest option to setup.cfg
* Removed print statements in test_objects.py
* Return "NotImplemented" instead of raising "NotImplementedError" in Nvector.mul
and Nvector.div in objects.py
* Fixed .travis.yml so that he file paths in coverage.xml is discoverable
under the sonar.sources folder. The problem is that SonarQube is
analysing the checked-out source code (in src/nvector) but the actual
unit tests and coverage.py is run against the installed code (in
build/lib/nvector). Thus the absolute files paths to the installed code
in the generated coverage.xml were causing Sonar to show no coverage.
The workaround was to use sed in the pipeline to replace every path to
build/lib/nvector with src/nvector in coverage.xml.
* Fixed a bug: Identical expressions should not be used on both sides of a binary operator in test:objects.py.
* Updated solutions to example 9
* Added greatcircle method to GeoPoint.distance_and_azimuth in objects.py
* Added _base_angle function that makes sure an angle is between -pi and pi.
* Added test_direct_and_inverse in test_objects.py
* Added interp_nvectors to docs/reference/nvector_summary.rst
* Added vectorized interpolation routines: interp_nvectors function to core.py and Nvector.interpolate to objects.py.
* Put try except around code in use_docstring to avoid attribute 'doc'
of 'type' objects is not writable errors for python2.
* Added interp_nvectors
* Reorganized _displace_great_circle
* Added check that depths also are equal on in _on_ellipsoid_path and in _on_great_circle_path
* Refactored code from use_docstring_from function into the use_docstring
function in _common.py
* Simplified the adding of examples to the docstrings of functions and classes in core.py and objects.py.

Final release version 0.7.6

22 Jun 14:00
Compare
Choose a tag to compare

Changelog

Version 0.7.6, December 18, 2020

Per A Brodtkorb (30):
* Renamed _core.py to core.py
* Removed the module index from the appendix because it was incomplete.
* Removed nvector.tests package from the reference chapter.
* Added indent function to _common.py to avoid failure on python 2.7.
* Moved isclose, allclose and array_to_list_dict from objects.py to util.py
* Moved the following function from test_nvector.py to test_rotation.py:
- test_n_E_and_wa2R_EL, test_R2zxy, test_R2zxy_x90, test_R2zxy_y90
- test_R2zxy_z90, test_R2zxy_0, test_R2xyz test_R2xyz_with_vectors
* Replaced assert_array_almost_equal with assert_allclose in test_objects.py
* Renamed test_frames.py to test_objects.py
* Added missing functions great_circle_normal and interpolate to the nvector_summary.rst
* Moved the following functions related to rotation matrices from _core to rotation module:
- E_rotation, n_E_and_wa2R_EL, n_E2R_EN, R_EL2n_E, R_EN2n_E, R2xyz, R2zyx, xyz2R, zyx2R
* Renamed select_ellipsoid to get_ellipsoid
* Moved the following utility functions from _core to util module:
- deg, rad, mdot, nthroot, get_ellipsoid, unit, _check_length_deviation
* Added _get_h1line and _make_summary to _common.py
* Replaced numpy.rollaxis with numpy.swapaxes to make the code clearer.
* _atleast_3d now broadcast the input against each other.
* Added examples to zyx2R
* Added the following references to zyx2R, xyz2R, R2xyz, R2zyx:
- https://en.wikipedia.org/wiki/Aircraft_principal_axes
- https://en.wikipedia.org/wiki/Euler_angles
- https://en.wikipedia.org/wiki/Axes_conventions
* Removed tabs from CHANGELOG.rst
* Updated CHANGELOG.rst and prepared for release v0.7.6
* Fixed the documentation so that it shows correctly in the reference manual.
* Added logo.png and docs/reference/nvector.rst
* Updated build_package.py so it generates a valid README.rst file.
* Updated THANKS.rst
* Updated CHANGELOG.rst and prepare for release 0.7.6
* Added Nvector documentation ref https://nvector.readthedocs.io/en/v0.7.5 to refs1.bib and _acknowledgements.py
* Updated README.rst
* Renamed requirements.readthedocs.txt to docs/requirements.txt
* Added .readthedocs.yml
* Added sphinxcontrib-bibtex to requirements.readthedocs.txt
* Added missing docs/tutorials/images/ex3img.png
* Deleted obsolete ex10img.png
* Updated acknowledgement with reference to Karney's article.
* Updated README.rst by moving acknowledgement to the end with references.
* Renamed position input argument to point in the FrameN, FrameB and FrameL classes.
* Deleted _example_images.py
* Renamed nvector.rst to nvector_summary.rst in docs/reference
* Added example images to tutorials/images/ folder
* Added Nvector logo, install.rst to docs
* Added src/nvector/_example_images.py
* Added docs/tutorials/whatsnext.rst
* Reorganized the documentation in docs by splitting _info.py into:
- _intro.py,
- _documentation.py
- _examples_object_oriented.py
- _images.py
- _installation.py and _acknowledgements.py
* Added docs/tutorials/index.rst, docs/intro/index.rst, docs/how-to/index.rst docs/appendix/index.rst and docs/make.bat
* updated references.

Final release version 0.7.5

14 Dec 09:16
Compare
Choose a tag to compare

Changelog

Version 0.7.5, December 12, 2020

Per A Brodtkorb (32):
* Updated CHANGELOG.rst and prepare for release 0.7.5
* Changed so that GeoPath.on_great_circle and GeoPath.on_great_circle
returns scalar result if the two points defining the path are scalars. See issue #10.
* Fixed failing doctests.
* Added doctest configuration to docs/conf.py
* Added allclose to nvector/objects.py
* Added array_to_list_dict an isclose functions in nvector.objects.py
Replaced f-string in the repr method of the _Common class in
nvector.objects.py with format in order to work on python version 3.5
and below.
* Made nvector.plot.py more robust.
* Removed rtol parameter from the on_greatcircle function. See issue #12 for a discussion.
* Added nvector solution to the GeoPoint.displace method.
* Updated docs/conf.py
* Updated README.rst and LICENSE.txt
* Replaced import unittest with import pytest in test_frames.py
* Fixed issue #10: Inconsistent return types in GeoPath.track_distance:
- GeoPath, GeoPoint, Nvector and ECEFvector and Pvector now return
scalars for the case where the input is not actually arrays of points
but just single objects.
* Added extra tests for issue #10 and updated old tests and the examples in the help headers.
* Vectorized FrameE.inverse and FrameE.direct methods.
* Extended deg and rad functions in _core.py.
* Vectorized GeoPoint.distance_and_azimuth
* Made import of cartopy in nvector.plot more robust.
* Updated test_Ex10_cross_track_distance
* Updated sonar-project.properties
* Replaced deprecated sonar.XXXX.reportPath with sonar.XXXX.reportPaths
* Simplified nvector/_core.doc
* Updated .travis.yml
* Changed the definition of sonar addon
* Added CC_TEST_REPORTER_ID to .travis.yml
* Added python 3.8 to the CI testing.
* Changed so that setup.py is python 2.7 compatible again.
* Updated build_package.py
* Renamed CHANGES.rst to CHANGELOG.rst
* Updated setup.cfg and setup.py
* Added license.py
* Updated build_package.py
* Removed conda-build from .travis.yml
* Attempt to get travis to run the tests again....
* API change: replaced "python setup.py doctests" with "python setup.py doctest"
* Added doctest example to nvector._core._atleast_3d Made xyz2R and zyx2R code simpler.
* Replaced deprecated Nvector.mean_horizontal_position with Nvector.mean in test_frames.py
* Added mdot to all in nvector/_core.py and in documentation summary.
* Sorted the the documentation summary by function name in nvector.rst
* Removed --pyargs nvector --doctest-modules --pep8 from addopts section in setup.cfg
* Updated documentation and added missing documentation.