|
123 | 123 | "source": [ |
124 | 124 | "figs = plot_metric_by_constellation(galileo_data, \"gps_millis\", \"residuals_m\")" |
125 | 125 | ] |
126 | | - }, |
127 | | - { |
128 | | - "cell_type": "markdown", |
129 | | - "id": "44e300c3", |
130 | | - "metadata": {}, |
131 | | - "source": [ |
132 | | - "# Multi-GNSS" |
133 | | - ] |
134 | | - }, |
135 | | - { |
136 | | - "cell_type": "markdown", |
137 | | - "id": "f92ade32", |
138 | | - "metadata": {}, |
139 | | - "source": [ |
140 | | - "Solve for precise ephemerides and update derived_data class using array of sp3 and clk classes." |
141 | | - ] |
142 | | - }, |
143 | | - { |
144 | | - "cell_type": "code", |
145 | | - "execution_count": null, |
146 | | - "id": "c6708193", |
147 | | - "metadata": {}, |
148 | | - "outputs": [], |
149 | | - "source": [ |
150 | | - "from gnss_lib_py.parsers.precise_ephemerides import parse_sp3, parse_clockfile\n", |
151 | | - "from gnss_lib_py.algorithms.multi_gnss import compute_sv_gnss_from_precise_eph" |
152 | | - ] |
153 | | - }, |
154 | | - { |
155 | | - "cell_type": "code", |
156 | | - "execution_count": null, |
157 | | - "id": "3647db8d", |
158 | | - "metadata": {}, |
159 | | - "outputs": [], |
160 | | - "source": [ |
161 | | - "# load Android Google Challenge data\n", |
162 | | - "!wget https://raw.githubusercontent.com/Stanford-NavLab/gnss_lib_py/ramya/multiGNSS_sp3/data/unit_test/android_2021/Pixel4_derived_clkdiscnt.csv --quiet -O \"Pixel4_derived_clkdiscnt.csv\"\n", |
163 | | - "derived_data = AndroidDerived2021(\"Pixel4_derived_clkdiscnt.csv\", remove_timing_outliers=False)\n", |
164 | | - "derived_data_gps = derived_data.where(\"gnss_id\", \"gps\")" |
165 | | - ] |
166 | | - }, |
167 | | - { |
168 | | - "cell_type": "code", |
169 | | - "execution_count": null, |
170 | | - "id": "b4601453", |
171 | | - "metadata": {}, |
172 | | - "outputs": [], |
173 | | - "source": [ |
174 | | - "# download .sp3 data file\n", |
175 | | - "!wget https://raw.githubusercontent.com/Stanford-NavLab/gnss_lib_py/ramya/multiGNSS_sp3/data/unit_test/precise_ephemeris/grg21553_short.sp3 --quiet -O \"grg21553_short.sp3\"\n", |
176 | | - "\n", |
177 | | - "# Parse precise ephemerides, i.e., satellite position, from .sp3 data\n", |
178 | | - "sp3data_gps = parse_sp3(\"grg21553_short.sp3\", constellation = 'gps')" |
179 | | - ] |
180 | | - }, |
181 | | - { |
182 | | - "cell_type": "code", |
183 | | - "execution_count": null, |
184 | | - "id": "9db551d2", |
185 | | - "metadata": {}, |
186 | | - "outputs": [], |
187 | | - "source": [ |
188 | | - "# download .clk data file\n", |
189 | | - "!wget https://raw.githubusercontent.com/Stanford-NavLab/gnss_lib_py/ramya/multiGNSS_sp3/data/unit_test/precise_ephemeris/grg21553_short.clk --quiet -O \"grg21553_short.clk\"\n", |
190 | | - "\n", |
191 | | - "# Parse precise ephemerides, i.e., satellite clock bias, from .clk data\n", |
192 | | - "clkdata_gps = parse_clockfile(\"grg21553_short.clk\", constellation = 'gps')" |
193 | | - ] |
194 | | - }, |
195 | | - { |
196 | | - "cell_type": "code", |
197 | | - "execution_count": null, |
198 | | - "id": "cda1a4a3", |
199 | | - "metadata": {}, |
200 | | - "outputs": [], |
201 | | - "source": [ |
202 | | - "# Update derived_data_gps class with satellite information computed via precise ephemerides\n", |
203 | | - "derived_multi_gnss = compute_sv_gnss_from_precise_eph(derived_data_gps, sp3data_gps, \\\n", |
204 | | - " clkdata_gps, verbose = False)" |
205 | | - ] |
206 | 126 | } |
207 | 127 | ], |
208 | 128 | "metadata": { |
209 | 129 | "kernelspec": { |
210 | | - "display_name": "Python 3 (ipykernel)", |
| 130 | + "display_name": "Python 3", |
211 | 131 | "language": "python", |
212 | 132 | "name": "python3" |
213 | 133 | }, |
|
221 | 141 | "name": "python", |
222 | 142 | "nbconvert_exporter": "python", |
223 | 143 | "pygments_lexer": "ipython3", |
224 | | - "version": "3.8.10" |
| 144 | + "version": "3.8.9" |
225 | 145 | }, |
226 | 146 | "vscode": { |
227 | 147 | "interpreter": { |
|
0 commit comments