shpointpower
Two Python scripts for spectral and correlation analysis of spherical harmonic coefficients. 'spectral_power' computes the power and coefficients for latitudes and longitudes. 'power_corr' calculates correlation per degree between spherical harmonic coefficients. Analyze spatial data on a sphere.
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.6%) to scientific vocabulary
Repository
Two Python scripts for spectral and correlation analysis of spherical harmonic coefficients. 'spectral_power' computes the power and coefficients for latitudes and longitudes. 'power_corr' calculates correlation per degree between spherical harmonic coefficients. Analyze spatial data on a sphere.
Basic Info
- Host: GitHub
- Owner: wesleystucker
- Language: Python
- Default Branch: main
- Size: 7.81 KB
Statistics
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 1
Metadata Files
README.md
SHPointPower
Spectral and Correlation Analysis of Spherical Harmonic Coefficients of Points on a Sphere
This repository contains two Python scripts for spectral analysis and correlation analysis of spherical harmonic coefficients. These scripts are useful for analyzing spatial data on a sphere.
Scripts
spectral_power.py
The spectral_power script computes the spectral power and spherical harmonic coefficients up to a specified degree and order for given latitudes and longitudes.
It takes latitude and longitude data as inputs and provides spectral power and coefficient outputs. The results can be saved as CSV files if desired.
power_corr.py
The power_corr script calculates the correlation coefficients per degree between two sets of spherical harmonic coefficients.
It takes cosine and sine coefficients of two datasets as inputs and returns correlation coefficients per degree.
Confidence intervals can also be provided for the correlation coefficients.
Usage
- Ensure you have the necessary dependencies installed: numpy, pandas, scipy, and pyshtools.
- Run the scripts using Python 3, passing the required inputs as described in the function documentation.
- Optionally, save the outputs as CSV files by specifying the output filenames.
Please refer to the function documentation within each script for detailed information on input parameters and outputs.
License
Feel free to use and modify the scripts according to your needs.
For any questions or issues, please contact Wes Tucker (wtucke5@uic.edu).
Owner
- Login: wesleystucker
- Kind: user
- Repositories: 1
- Profile: https://github.com/wesleystucker
Citation (CITATION.cff)
cff-version: 1.2.0 message: "If you use this software, please cite it as below." authors: - family-names: "Tucker" given-names: "Wesley, S." orcid: "https://orcid.org/0000-0002-2480-8851" title: "SHPointPower" version: 1.0.0 doi: 10.5281/zenodo.1234 date-released: 2023-10-31 url: "https://github.com/wesleystucker/SHPointPower"