Nvector

Latest version: v1.0.1

Safety actively analyzes 681844 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

1.0.1

📚 Documentation

- Prepare changelog for automatic updates using semantic versioning

⚙️ Miscellaneous Tasks

- *(pyproject.toml)* Replace use of python-semantic-release with pdm-bump and git-cliff.

◀️ Revert

- Remove release1, pypi-publish and test-pypi-publish jobs from workflows/python-package.yml

1.0.0

- Added pytest-ruff and ruff as test dependencies to pyproject.toml
- added sphinx_build_latex script to pyproject.toml
- Replaced all single quotes (') with double quotes (").
- Added pretty print __str__ method to _Common in objects.py
- Removed conversion of an array with ndim > 0 to a scalar in plot.py since it is deprecated, and will error in future.
- Replaced dependency on geographiclib with karney.py, which now is a separate package.
- Made matplotlib and cartopy optional dependency
- Added dm2degrees and degrees2dm in util.py
- Adopted many of the changes Matt Hogan did to the nvector fork called "envector":

- Updated docstrings to adopt the Napoleon docstring standard.
- Removed numpydoc from the documentation requirements as it is not used.
- Added type-hints to most functions and methods
- Reduced matrix of supported Python versions as to reduce burden of testing
- Added local testing support using nox.
- Replaced testing on travis and appveyor with github.workflows/python-package
- Added CODE_OF_CONDUCT.md, CONTRIBUTING.rst and workflows/python-package.yml.
- Removed THANKS.rst

- Added example to great_circle_distance_rad
- Replaced numpy.finfo(float).tiny with numpy.finfo(float).smallest_normal if version > 1.22 in util.py
- Added main function to plot.py
- Made _init_earth_plotter more robust in nvector.plot.py.
- Made test_prolate15_direct more forgiving...
- Removed unused rsum from util.py
- Fixed doctest so they don't crash on travis: Replaced " doctest + SKIP" with " doctest: +SKIP" in docstrings.
- Added hypothesis to tests_require in setup.py
- Updated badges in README.rst and _images.py
- Simplified duplicated test-values in test_R2zyx_zyx2R_roundtrip and test_R2xyz_xyz2R_roundtrip.
- Updated example 5 in _examples.py so it works again.
- Fixed a bug in geodesic_distance
- Moved test_geo_solve6, test_geo_solve9, test_geo_solve10 and test_geo_solve11 into test_inverse_cornercases
- Fixed a bug in test_nan_propagation
- Moved test_geo_solve29, test_geo_solve0 and test_geo_solve1 into WGS84_TESTCASES
- Removed obsolete long_unroll argument from GeoPoint.distance_and_azimuth and FrameE.inverse
- Fixed karney.py so that all the tests work.
- Added geodesic_reckon and improved geodesic_distance in core.py
- Added karney.py
- Fixed doctests in lat_lon2n_E in core.py
- Added geodesic_distance function to core.py
- Added doctest example to GeoPoint.distance_and_azimuth method in objects.py
- Added allclose to __all__ in nvector.util.py and replaced all examples using np.allclose with nv.allclose
- Added doctest example to lat_lon2n_E function.
- Made lat_lon2n_E more general by allowing to broadcast the input.
- Added test_util.py module.
- Made nthroot function more robust against zero-division.
- Made unit function more robust against overflow.
- Made get_ellipsoid more forgiving on name argument
- Added NGO1948 and EUREF89 options to get_ellipsoid.
- Added course_over_ground, n_EA_E_and_n_EB_E2p_AB_N and n_EA_E_and_p_AB_N2n_EB_E to core.py
- Added course_over_ground method to Nvector class in objects.py
- Added n_EA_E_and_n_EB_E2p_AB_N and n_EA_E_and_p_AB_N2n_EB_E functions to core.py
- Added content to topics/nvector.rst
- Fixes issue 15: KeyError: 'point' in __repr__ of Pvector
- Added test_nvector_with_vectors.py in order to check vectorized code work correctly.
- Refactored great_circle_distance_rad function from great_circle_distance function
- Removed unused code from _info.py, _info_functional.py, core.py, plot.py
- Added tests to check if ``zyx2R(*R2zyx(r_matrix)) == r_matrix`` and ``xyz2R(*R2xyz(r_matrix)) == r_matrix``
- Corrected docstring of mdot in nvector.util.py

0.7.7

- 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.

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.

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 and 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.

0.7.4

- Fixed PyPi badge and added downloads badge in nvector/_info.py and README.rst
- Removed obsolete and wrong badges from docs/index.rst

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.