Skip to main content
Back to top
Ctrl
+
K
atompy 5.7.3 documentation
API reference
Tutorials
Search
Ctrl
+
K
System Settings
Light
Dark
Search
Ctrl
+
K
API reference
Tutorials
System Settings
Light
Dark
Collapse Sidebar
Expand Sidebar
Section Navigation
Base module
Vector
angle_to
asarray
copy
cos_theta
cross
dot
mag
norm
phi
rotate
scale
theta
VectorArray
asvector
asvectorarray
CoordinateSystem
CoordinateSystemArray
DataXY
Hist1d
Hist2d
get_all_dividers
centers_to_edges
edges_to_centers
convert_cosine_to_angles
for_pcolormesh_from_txt
for_pcolormesh_from_root
sample_distribution
sample_distribution_func
sample_distribution_discrete
gauss
crop
Physics Submodule
API reference
Base module
Vector
mag
mag
#
Vector.
mag
(
)
[source]
#
Calculate magnitude of vector.
Returns
:
magnitude
float
On this page
Vector.mag()
Show Source