netsse.tools.misc_func#
Miscellaneous functions for NetSSE.
Copyright (C) 2024 Technical University of Denmark, R.E.G. Mounet
This code is part of the NetSSE software.
NetSSE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
NetSSE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
To credit the author, users are encouraged to use below reference:
Mounet, R. E. G., & Nielsen, U. D. NetSSE: An open-source Python package
for network-based sea state estimation from ships, buoys, and other
observation platforms (version 2.0). Technical University of Denmark,
GitLab. July 2024. https://doi.org/10.11583/DTU.26379811.
Last updated on 12-07-2024 by R.E.G. Mounet
Functions#
|
Wraps an array around one of its dimensions. |
|
Adds zeros to an array along one of its dimensions. |
|
Converts angles to a new range (of extent 360 degrees). |
|
Calculates the signed difference between two angles. |
|
Calculates the mean angle from an array of angular data. |
|
Calculates the circular standard deviation of an array of |
|
Checks whether two vectors are identical, element-wise. |
|
Checks whether two matrices are identical, element-wise. |
|
Computes the weighted standard deviation of some data. |
|
Computes the q-th quantiles of weighted data. |
|
Finds the nearest neighbours to a series of waypoints within a grid |
|
Randomly generates a cryptographically secure string of a given size. |