procdarn 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- procdarn-0.1.0/.github/workflows/CI.yml +180 -0
- procdarn-0.1.0/.gitignore +1 -0
- procdarn-0.1.0/Cargo.lock +1804 -0
- procdarn-0.1.0/Cargo.toml +40 -0
- procdarn-0.1.0/PKG-INFO +8 -0
- procdarn-0.1.0/README.md +73 -0
- procdarn-0.1.0/benches/fitacf3.rs +32 -0
- procdarn-0.1.0/build.rs +17 -0
- procdarn-0.1.0/pyproject.toml +28 -0
- procdarn-0.1.0/src/error.rs +40 -0
- procdarn-0.1.0/src/fitting/fitacf3/determinations.rs +619 -0
- procdarn-0.1.0/src/fitting/fitacf3/filtering.rs +212 -0
- procdarn-0.1.0/src/fitting/fitacf3/fitacf_v3.rs +210 -0
- procdarn-0.1.0/src/fitting/fitacf3/fitstruct.rs +236 -0
- procdarn-0.1.0/src/fitting/fitacf3/fitting.rs +244 -0
- procdarn-0.1.0/src/fitting/fitacf3/least_squares.rs +145 -0
- procdarn-0.1.0/src/fitting/fitacf3/mod.rs +6 -0
- procdarn-0.1.0/src/fitting/mod.rs +4 -0
- procdarn-0.1.0/src/gridding/filter.rs +492 -0
- procdarn-0.1.0/src/gridding/grid.rs +669 -0
- procdarn-0.1.0/src/gridding/grid_table.rs +641 -0
- procdarn-0.1.0/src/gridding/mod.rs +6 -0
- procdarn-0.1.0/src/lib.rs +209 -0
- procdarn-0.1.0/src/utils/channel.rs +25 -0
- procdarn-0.1.0/src/utils/coords.rs +356 -0
- procdarn-0.1.0/src/utils/hdw.rs +216 -0
- procdarn-0.1.0/src/utils/mod.rs +8 -0
- procdarn-0.1.0/src/utils/rawacf.rs +236 -0
- procdarn-0.1.0/src/utils/rpos.rs +728 -0
- procdarn-0.1.0/src/utils/scan.rs +480 -0
- procdarn-0.1.0/src/utils/search.rs +58 -0
- procdarn-0.1.0/src/utils/sugar.rs +50 -0
- procdarn-0.1.0/tests/fit2grid.rs +498 -0
- procdarn-0.1.0/tests/fitacf.rs +49 -0
- procdarn-0.1.0/tests/test_files/large.rawacf +0 -0
- procdarn-0.1.0/tests/test_files/test.fitacf +0 -0
- procdarn-0.1.0/tests/test_files/test.iqdat +0 -0
- procdarn-0.1.0/tests/test_files/test.map +0 -0
- procdarn-0.1.0/tests/test_files/test.rawacf +0 -0
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
# This file is autogenerated by maturin v1.7.0
|
|
2
|
+
# To update, run
|
|
3
|
+
#
|
|
4
|
+
# maturin generate-ci github --zig
|
|
5
|
+
#
|
|
6
|
+
name: CI
|
|
7
|
+
|
|
8
|
+
on:
|
|
9
|
+
push:
|
|
10
|
+
branches:
|
|
11
|
+
- main
|
|
12
|
+
tags:
|
|
13
|
+
- '*'
|
|
14
|
+
pull_request:
|
|
15
|
+
branches:
|
|
16
|
+
- main
|
|
17
|
+
workflow_dispatch:
|
|
18
|
+
|
|
19
|
+
permissions:
|
|
20
|
+
contents: read
|
|
21
|
+
|
|
22
|
+
jobs:
|
|
23
|
+
linux:
|
|
24
|
+
runs-on: ${{ matrix.platform.runner }}
|
|
25
|
+
strategy:
|
|
26
|
+
matrix:
|
|
27
|
+
platform:
|
|
28
|
+
- runner: ubuntu-latest
|
|
29
|
+
target: x86_64
|
|
30
|
+
- runner: ubuntu-latest
|
|
31
|
+
target: x86
|
|
32
|
+
- runner: ubuntu-latest
|
|
33
|
+
target: aarch64
|
|
34
|
+
- runner: ubuntu-latest
|
|
35
|
+
target: armv7
|
|
36
|
+
- runner: ubuntu-latest
|
|
37
|
+
target: s390x
|
|
38
|
+
# - runner: ubuntu-latest
|
|
39
|
+
# target: ppc64le
|
|
40
|
+
steps:
|
|
41
|
+
- uses: actions/checkout@v4
|
|
42
|
+
- uses: actions/setup-python@v5
|
|
43
|
+
with:
|
|
44
|
+
python-version: 3.x
|
|
45
|
+
- name: Build wheels
|
|
46
|
+
uses: PyO3/maturin-action@v1
|
|
47
|
+
with:
|
|
48
|
+
target: ${{ matrix.platform.target }}
|
|
49
|
+
args: --release --out dist --zig
|
|
50
|
+
sccache: 'false'
|
|
51
|
+
manylinux: auto
|
|
52
|
+
before-script-linux: |
|
|
53
|
+
sudo apt update -y && sudo apt-get install -y libssl-dev openssl pkg-config
|
|
54
|
+
- name: Upload wheels
|
|
55
|
+
uses: actions/upload-artifact@v4
|
|
56
|
+
with:
|
|
57
|
+
name: wheels-linux-${{ matrix.platform.target }}
|
|
58
|
+
path: dist
|
|
59
|
+
|
|
60
|
+
musllinux:
|
|
61
|
+
runs-on: ${{ matrix.platform.runner }}
|
|
62
|
+
# if: "startsWith(github.ref, 'refs/tags/')"
|
|
63
|
+
strategy:
|
|
64
|
+
matrix:
|
|
65
|
+
platform:
|
|
66
|
+
- runner: ubuntu-latest
|
|
67
|
+
target: x86_64
|
|
68
|
+
- runner: ubuntu-latest
|
|
69
|
+
target: x86
|
|
70
|
+
- runner: ubuntu-latest
|
|
71
|
+
target: aarch64
|
|
72
|
+
- runner: ubuntu-latest
|
|
73
|
+
target: armv7
|
|
74
|
+
steps:
|
|
75
|
+
- uses: actions/checkout@v4
|
|
76
|
+
- uses: actions/setup-python@v5
|
|
77
|
+
with:
|
|
78
|
+
python-version: 3.x
|
|
79
|
+
- name: Build wheels
|
|
80
|
+
uses: PyO3/maturin-action@v1
|
|
81
|
+
with:
|
|
82
|
+
target: ${{ matrix.platform.target }}
|
|
83
|
+
args: --release --out dist
|
|
84
|
+
sccache: 'false'
|
|
85
|
+
manylinux: musllinux_1_2
|
|
86
|
+
- name: Upload wheels
|
|
87
|
+
uses: actions/upload-artifact@v4
|
|
88
|
+
with:
|
|
89
|
+
name: wheels-musllinux-${{ matrix.platform.target }}
|
|
90
|
+
path: dist
|
|
91
|
+
|
|
92
|
+
windows:
|
|
93
|
+
runs-on: ${{ matrix.platform.runner }}
|
|
94
|
+
# if: "startsWith(github.ref, 'refs/tags/')"
|
|
95
|
+
strategy:
|
|
96
|
+
matrix:
|
|
97
|
+
platform:
|
|
98
|
+
- runner: windows-latest
|
|
99
|
+
target: x64
|
|
100
|
+
steps:
|
|
101
|
+
- uses: actions/checkout@v4
|
|
102
|
+
- uses: actions/setup-python@v5
|
|
103
|
+
with:
|
|
104
|
+
python-version: 3.x
|
|
105
|
+
architecture: ${{ matrix.platform.target }}
|
|
106
|
+
- name: Build wheels
|
|
107
|
+
uses: PyO3/maturin-action@v1
|
|
108
|
+
with:
|
|
109
|
+
target: ${{ matrix.platform.target }}
|
|
110
|
+
args: --release --out dist
|
|
111
|
+
sccache: 'false'
|
|
112
|
+
- name: Upload wheels
|
|
113
|
+
uses: actions/upload-artifact@v4
|
|
114
|
+
with:
|
|
115
|
+
name: wheels-windows-${{ matrix.platform.target }}
|
|
116
|
+
path: dist
|
|
117
|
+
|
|
118
|
+
macos:
|
|
119
|
+
runs-on: ${{ matrix.platform.runner }}
|
|
120
|
+
# if: "startsWith(github.ref, 'refs/tags/')"
|
|
121
|
+
strategy:
|
|
122
|
+
matrix:
|
|
123
|
+
platform:
|
|
124
|
+
- runner: macos-26-intel
|
|
125
|
+
target: x86_64
|
|
126
|
+
- runner: macos-14
|
|
127
|
+
target: aarch64
|
|
128
|
+
steps:
|
|
129
|
+
- uses: actions/checkout@v4
|
|
130
|
+
- uses: actions/setup-python@v5
|
|
131
|
+
with:
|
|
132
|
+
python-version: 3.x
|
|
133
|
+
- name: Build wheels
|
|
134
|
+
uses: PyO3/maturin-action@v1
|
|
135
|
+
with:
|
|
136
|
+
target: ${{ matrix.platform.target }}
|
|
137
|
+
args: --release --out dist
|
|
138
|
+
sccache: 'false'
|
|
139
|
+
- name: Upload wheels
|
|
140
|
+
uses: actions/upload-artifact@v4
|
|
141
|
+
with:
|
|
142
|
+
name: wheels-macos-${{ matrix.platform.target }}
|
|
143
|
+
path: dist
|
|
144
|
+
|
|
145
|
+
sdist:
|
|
146
|
+
runs-on: ubuntu-latest
|
|
147
|
+
steps:
|
|
148
|
+
- uses: actions/checkout@v4
|
|
149
|
+
- uses: actions/setup-python@v5
|
|
150
|
+
with:
|
|
151
|
+
python-version: 3.x
|
|
152
|
+
- name: Build sdist
|
|
153
|
+
uses: PyO3/maturin-action@v1
|
|
154
|
+
with:
|
|
155
|
+
command: sdist
|
|
156
|
+
args: --out dist
|
|
157
|
+
- name: Upload sdist
|
|
158
|
+
uses: actions/upload-artifact@v4
|
|
159
|
+
with:
|
|
160
|
+
name: wheels-sdist
|
|
161
|
+
path: dist
|
|
162
|
+
|
|
163
|
+
release:
|
|
164
|
+
name: Release
|
|
165
|
+
runs-on: ubuntu-latest
|
|
166
|
+
if: "startsWith(github.ref, 'refs/tags/')"
|
|
167
|
+
needs: [linux, musllinux, windows, macos, sdist]
|
|
168
|
+
permissions:
|
|
169
|
+
id-token: write
|
|
170
|
+
environment: release
|
|
171
|
+
steps:
|
|
172
|
+
- uses: actions/download-artifact@v4
|
|
173
|
+
- uses: actions/setup-python@v5
|
|
174
|
+
with:
|
|
175
|
+
python-version: 3.x
|
|
176
|
+
- name: Publish to PyPI
|
|
177
|
+
uses: PyO3/maturin-action@v1
|
|
178
|
+
with:
|
|
179
|
+
command: upload
|
|
180
|
+
args: --non-interactive --skip-existing wheels-*/*
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/target
|