Skip to main content
Ctrl+K
ktch 0.7.2 documentation - Home ktch 0.7.2 documentation - Home
  • Installation
  • Tutorials
  • How-to Guides
  • Explanation
  • API Reference
  • GitHub
  • Installation
  • Tutorials
  • How-to Guides
  • Explanation
  • API Reference
  • GitHub

Section Navigation

  • ktch.landmark
    • GeneralizedProcrustesAnalysis
    • centroid_size
    • define_curve_sliders
    • combine_landmarks_and_curves
  • ktch.harmonic
    • EllipticFourierAnalysis
    • SphericalHarmonicAnalysis
    • spharm
    • xyz2spherical
  • ktch.io
    • read_tps
    • write_tps
    • read_chc
    • write_chc
    • read_spharmpdm_coef
  • ktch.datasets
    • load_landmark_mosquito_wings
    • load_landmark_trilobite_cephala
    • load_outline_mosquito_wings
    • load_outline_leaf_bending
    • load_image_passiflora_leaves
    • convert_coords_df_to_list
    • convert_coords_df_to_df_sklearn_transform
    • make_landmarks_from_reference
  • Plotting
    • explained_variance_ratio_plot
    • tps_grid_2d_plot
  • API Reference
  • ktch.harmonic
  • xyz2spherical

xyz2spherical#

ktch.harmonic.xyz2spherical(xyz: ndarray[tuple[Any, ...], dtype[float64]]) → ndarray[tuple[Any, ...], dtype[float64]][source]#

Convert Cartesian coordinates to spherical coordinates (theta, phi)

previous

spharm

next

ktch.io

On this page
  • xyz2spherical()

This Page

  • Show Source

© Copyright 2020-2026, Koji Noshita.

Created using Sphinx 8.2.3.

Built with the PyData Sphinx Theme 0.16.1.