crosscorr
Easily calculate Cross Correlation Functions (CCFs) from different high resolution spectra. Includes masks from HARPS, ESPRESSO, and HPF. Uses Fortran for speed. The fortran code used here is originally derived from ceres. The notebooks/ directory shows an example on how to calculate CCFs with HPF spectra.
Installation instructions
To install, run the following commands:
git clone https://github.com/TeHanHunter/crosscorr.git
cd crosscorr
python3 setup.py install
This should build the fortran code as well.
More detailed installation instructions
Normally the setup.py should fully take care of the installation (including the fotran compilation), but listing instructions to build the fotran code in python just in case.
Fortran installation instructions
In case the fortran code does not build, run the following commands:
Linux
cd crosscorr/
f2py -c -m CCF_1d CCF_1d.f
f2py -c -m CCF_3d CCF_3d.f
f2py -c -m CCF_pix CCF_pix.f
Mac
On mac you might need to try sudo (verified that this works on my mac).
cd crosscorr/
sudo f2py -c -m CCF_1d CCF_1d.f
sudo f2py -c -m CCF_3d CCF_3d.f
sudo f2py -c -m CCF_pix CCF_pix.f
Metadata
Release files for crosscorr 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| crosscorr-0.1.2.tar.gz | 1.1 MB | Without provenance | Details for crosscorr-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| crosscorr-0.1.2-cp310-cp310-macosx_11_0_arm64.whl | CPython 3.10 | CPython 3.10 | macOS 11.0+ ARM64 | Details for crosscorr-0.1.2-cp310-cp310-macosx_11_0_arm64.whl |
Total release size: 2.1 MB
Release files / crosscorr-0.1.2.tar.gz
| Download URL | crosscorr-0.1.2.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
68a9d33b3f2dd243685359f624039f58745aa4afabc4fc6b0408e6d93d164dda
|
|
BLAKE2b-256 checksum How to use checksums |
c32a97c86d18bc5b8465f699a6ee7a123aaa13726cacbaa44d3e6986ee8ca0a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.14
|
Release files / crosscorr-0.1.2-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | crosscorr-0.1.2-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 985.7 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
fff9b5c69a9bf541f7a25e599acc46ddde78d95b36b28d52ddad8112caef5da7
|
|
BLAKE2b-256 checksum How to use checksums |
06937ea22399818aa196a04431aac110e313fcefd2a209db1d6f76ff92f9a724
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.14
|
Security for crosscorr 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.