lroche 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.
- lroche-0.1.0/.gitignore +26 -0
- lroche-0.1.0/Cargo.lock +308 -0
- lroche-0.1.0/Cargo.toml +18 -0
- lroche-0.1.0/LICENSE +21 -0
- lroche-0.1.0/PKG-INFO +5 -0
- lroche-0.1.0/README.rst +36 -0
- lroche-0.1.0/pyproject.toml +11 -0
- lroche-0.1.0/src/binary_model.rs +587 -0
- lroche-0.1.0/src/comp_gravity.rs +119 -0
- lroche-0.1.0/src/comp_light.rs +576 -0
- lroche-0.1.0/src/comp_radius.rs +36 -0
- lroche-0.1.0/src/constants.rs +100 -0
- lroche-0.1.0/src/lib.rs +29 -0
- lroche-0.1.0/src/model.rs +541 -0
- lroche-0.1.0/src/roche.rs +1648 -0
- lroche-0.1.0/src/set_bright_spot_grid.rs +114 -0
- lroche-0.1.0/src/set_disc_continuum.rs +83 -0
- lroche-0.1.0/src/set_disc_grid.rs +329 -0
- lroche-0.1.0/src/set_star_continuum.rs +269 -0
- lroche-0.1.0/src/set_star_grid.rs +745 -0
- lroche-0.1.0/src/vec3.rs +199 -0
lroche-0.1.0/.gitignore
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Generated by Cargo
|
|
2
|
+
# will have compiled files and executables
|
|
3
|
+
debug
|
|
4
|
+
target
|
|
5
|
+
|
|
6
|
+
# These are backup files generated by rustfmt
|
|
7
|
+
**/*.rs.bk
|
|
8
|
+
|
|
9
|
+
# MSVC Windows builds of rustc generate these, which store debugging information
|
|
10
|
+
*.pdb
|
|
11
|
+
|
|
12
|
+
# Generated by cargo mutants
|
|
13
|
+
# Contains mutation testing data
|
|
14
|
+
**/mutants.out*/
|
|
15
|
+
|
|
16
|
+
# profiling stuff
|
|
17
|
+
perf.data
|
|
18
|
+
perf.data.old
|
|
19
|
+
flamegraph.svg
|
|
20
|
+
|
|
21
|
+
# RustRover
|
|
22
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
23
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
24
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
25
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
26
|
+
#.idea/
|
lroche-0.1.0/Cargo.lock
ADDED
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 4
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "autocfg"
|
|
7
|
+
version = "1.5.0"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
|
|
10
|
+
|
|
11
|
+
[[package]]
|
|
12
|
+
name = "bulirsch"
|
|
13
|
+
version = "0.1.12"
|
|
14
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
15
|
+
checksum = "cdbb964461d0f1217e0dcfd69c2879c4318524c6650d149b410b962bbf0f7c87"
|
|
16
|
+
dependencies = [
|
|
17
|
+
"ndarray 0.16.1",
|
|
18
|
+
"num-traits",
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
[[package]]
|
|
22
|
+
name = "crossbeam-deque"
|
|
23
|
+
version = "0.8.6"
|
|
24
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
25
|
+
checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51"
|
|
26
|
+
dependencies = [
|
|
27
|
+
"crossbeam-epoch",
|
|
28
|
+
"crossbeam-utils",
|
|
29
|
+
]
|
|
30
|
+
|
|
31
|
+
[[package]]
|
|
32
|
+
name = "crossbeam-epoch"
|
|
33
|
+
version = "0.9.18"
|
|
34
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
35
|
+
checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
|
|
36
|
+
dependencies = [
|
|
37
|
+
"crossbeam-utils",
|
|
38
|
+
]
|
|
39
|
+
|
|
40
|
+
[[package]]
|
|
41
|
+
name = "crossbeam-utils"
|
|
42
|
+
version = "0.8.21"
|
|
43
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
44
|
+
checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
|
|
45
|
+
|
|
46
|
+
[[package]]
|
|
47
|
+
name = "either"
|
|
48
|
+
version = "1.15.0"
|
|
49
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
50
|
+
checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
|
|
51
|
+
|
|
52
|
+
[[package]]
|
|
53
|
+
name = "heck"
|
|
54
|
+
version = "0.5.0"
|
|
55
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
56
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
57
|
+
|
|
58
|
+
[[package]]
|
|
59
|
+
name = "libc"
|
|
60
|
+
version = "0.2.183"
|
|
61
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
62
|
+
checksum = "b5b646652bf6661599e1da8901b3b9522896f01e736bad5f723fe7a3a27f899d"
|
|
63
|
+
|
|
64
|
+
[[package]]
|
|
65
|
+
name = "lroche"
|
|
66
|
+
version = "0.1.0"
|
|
67
|
+
dependencies = [
|
|
68
|
+
"bulirsch",
|
|
69
|
+
"ndarray 0.16.1",
|
|
70
|
+
"numpy",
|
|
71
|
+
"pyo3",
|
|
72
|
+
"rayon",
|
|
73
|
+
]
|
|
74
|
+
|
|
75
|
+
[[package]]
|
|
76
|
+
name = "matrixmultiply"
|
|
77
|
+
version = "0.3.10"
|
|
78
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
79
|
+
checksum = "a06de3016e9fae57a36fd14dba131fccf49f74b40b7fbdb472f96e361ec71a08"
|
|
80
|
+
dependencies = [
|
|
81
|
+
"autocfg",
|
|
82
|
+
"rawpointer",
|
|
83
|
+
]
|
|
84
|
+
|
|
85
|
+
[[package]]
|
|
86
|
+
name = "ndarray"
|
|
87
|
+
version = "0.16.1"
|
|
88
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
89
|
+
checksum = "882ed72dce9365842bf196bdeedf5055305f11fc8c03dee7bb0194a6cad34841"
|
|
90
|
+
dependencies = [
|
|
91
|
+
"matrixmultiply",
|
|
92
|
+
"num-complex",
|
|
93
|
+
"num-integer",
|
|
94
|
+
"num-traits",
|
|
95
|
+
"portable-atomic",
|
|
96
|
+
"portable-atomic-util",
|
|
97
|
+
"rawpointer",
|
|
98
|
+
]
|
|
99
|
+
|
|
100
|
+
[[package]]
|
|
101
|
+
name = "ndarray"
|
|
102
|
+
version = "0.17.2"
|
|
103
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
104
|
+
checksum = "520080814a7a6b4a6e9070823bb24b4531daac8c4627e08ba5de8c5ef2f2752d"
|
|
105
|
+
dependencies = [
|
|
106
|
+
"matrixmultiply",
|
|
107
|
+
"num-complex",
|
|
108
|
+
"num-integer",
|
|
109
|
+
"num-traits",
|
|
110
|
+
"portable-atomic",
|
|
111
|
+
"portable-atomic-util",
|
|
112
|
+
"rawpointer",
|
|
113
|
+
]
|
|
114
|
+
|
|
115
|
+
[[package]]
|
|
116
|
+
name = "num-complex"
|
|
117
|
+
version = "0.4.6"
|
|
118
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
119
|
+
checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495"
|
|
120
|
+
dependencies = [
|
|
121
|
+
"num-traits",
|
|
122
|
+
]
|
|
123
|
+
|
|
124
|
+
[[package]]
|
|
125
|
+
name = "num-integer"
|
|
126
|
+
version = "0.1.46"
|
|
127
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
128
|
+
checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f"
|
|
129
|
+
dependencies = [
|
|
130
|
+
"num-traits",
|
|
131
|
+
]
|
|
132
|
+
|
|
133
|
+
[[package]]
|
|
134
|
+
name = "num-traits"
|
|
135
|
+
version = "0.2.19"
|
|
136
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
137
|
+
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
|
|
138
|
+
dependencies = [
|
|
139
|
+
"autocfg",
|
|
140
|
+
]
|
|
141
|
+
|
|
142
|
+
[[package]]
|
|
143
|
+
name = "numpy"
|
|
144
|
+
version = "0.28.0"
|
|
145
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
146
|
+
checksum = "778da78c64ddc928ebf5ad9df5edf0789410ff3bdbf3619aed51cd789a6af1e2"
|
|
147
|
+
dependencies = [
|
|
148
|
+
"libc",
|
|
149
|
+
"ndarray 0.17.2",
|
|
150
|
+
"num-complex",
|
|
151
|
+
"num-integer",
|
|
152
|
+
"num-traits",
|
|
153
|
+
"pyo3",
|
|
154
|
+
"pyo3-build-config",
|
|
155
|
+
"rustc-hash",
|
|
156
|
+
]
|
|
157
|
+
|
|
158
|
+
[[package]]
|
|
159
|
+
name = "once_cell"
|
|
160
|
+
version = "1.21.4"
|
|
161
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
162
|
+
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
163
|
+
|
|
164
|
+
[[package]]
|
|
165
|
+
name = "portable-atomic"
|
|
166
|
+
version = "1.13.1"
|
|
167
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
168
|
+
checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
|
|
169
|
+
|
|
170
|
+
[[package]]
|
|
171
|
+
name = "portable-atomic-util"
|
|
172
|
+
version = "0.2.6"
|
|
173
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
174
|
+
checksum = "091397be61a01d4be58e7841595bd4bfedb15f1cd54977d79b8271e94ed799a3"
|
|
175
|
+
dependencies = [
|
|
176
|
+
"portable-atomic",
|
|
177
|
+
]
|
|
178
|
+
|
|
179
|
+
[[package]]
|
|
180
|
+
name = "proc-macro2"
|
|
181
|
+
version = "1.0.106"
|
|
182
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
183
|
+
checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
|
|
184
|
+
dependencies = [
|
|
185
|
+
"unicode-ident",
|
|
186
|
+
]
|
|
187
|
+
|
|
188
|
+
[[package]]
|
|
189
|
+
name = "pyo3"
|
|
190
|
+
version = "0.28.2"
|
|
191
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
192
|
+
checksum = "cf85e27e86080aafd5a22eae58a162e133a589551542b3e5cee4beb27e54f8e1"
|
|
193
|
+
dependencies = [
|
|
194
|
+
"libc",
|
|
195
|
+
"once_cell",
|
|
196
|
+
"portable-atomic",
|
|
197
|
+
"pyo3-build-config",
|
|
198
|
+
"pyo3-ffi",
|
|
199
|
+
"pyo3-macros",
|
|
200
|
+
]
|
|
201
|
+
|
|
202
|
+
[[package]]
|
|
203
|
+
name = "pyo3-build-config"
|
|
204
|
+
version = "0.28.2"
|
|
205
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
206
|
+
checksum = "8bf94ee265674bf76c09fa430b0e99c26e319c945d96ca0d5a8215f31bf81cf7"
|
|
207
|
+
dependencies = [
|
|
208
|
+
"target-lexicon",
|
|
209
|
+
]
|
|
210
|
+
|
|
211
|
+
[[package]]
|
|
212
|
+
name = "pyo3-ffi"
|
|
213
|
+
version = "0.28.2"
|
|
214
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
215
|
+
checksum = "491aa5fc66d8059dd44a75f4580a2962c1862a1c2945359db36f6c2818b748dc"
|
|
216
|
+
dependencies = [
|
|
217
|
+
"libc",
|
|
218
|
+
"pyo3-build-config",
|
|
219
|
+
]
|
|
220
|
+
|
|
221
|
+
[[package]]
|
|
222
|
+
name = "pyo3-macros"
|
|
223
|
+
version = "0.28.2"
|
|
224
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
225
|
+
checksum = "f5d671734e9d7a43449f8480f8b38115df67bef8d21f76837fa75ee7aaa5e52e"
|
|
226
|
+
dependencies = [
|
|
227
|
+
"proc-macro2",
|
|
228
|
+
"pyo3-macros-backend",
|
|
229
|
+
"quote",
|
|
230
|
+
"syn",
|
|
231
|
+
]
|
|
232
|
+
|
|
233
|
+
[[package]]
|
|
234
|
+
name = "pyo3-macros-backend"
|
|
235
|
+
version = "0.28.2"
|
|
236
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
237
|
+
checksum = "22faaa1ce6c430a1f71658760497291065e6450d7b5dc2bcf254d49f66ee700a"
|
|
238
|
+
dependencies = [
|
|
239
|
+
"heck",
|
|
240
|
+
"proc-macro2",
|
|
241
|
+
"pyo3-build-config",
|
|
242
|
+
"quote",
|
|
243
|
+
"syn",
|
|
244
|
+
]
|
|
245
|
+
|
|
246
|
+
[[package]]
|
|
247
|
+
name = "quote"
|
|
248
|
+
version = "1.0.45"
|
|
249
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
250
|
+
checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924"
|
|
251
|
+
dependencies = [
|
|
252
|
+
"proc-macro2",
|
|
253
|
+
]
|
|
254
|
+
|
|
255
|
+
[[package]]
|
|
256
|
+
name = "rawpointer"
|
|
257
|
+
version = "0.2.1"
|
|
258
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
259
|
+
checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3"
|
|
260
|
+
|
|
261
|
+
[[package]]
|
|
262
|
+
name = "rayon"
|
|
263
|
+
version = "1.11.0"
|
|
264
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
265
|
+
checksum = "368f01d005bf8fd9b1206fb6fa653e6c4a81ceb1466406b81792d87c5677a58f"
|
|
266
|
+
dependencies = [
|
|
267
|
+
"either",
|
|
268
|
+
"rayon-core",
|
|
269
|
+
]
|
|
270
|
+
|
|
271
|
+
[[package]]
|
|
272
|
+
name = "rayon-core"
|
|
273
|
+
version = "1.13.0"
|
|
274
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
275
|
+
checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91"
|
|
276
|
+
dependencies = [
|
|
277
|
+
"crossbeam-deque",
|
|
278
|
+
"crossbeam-utils",
|
|
279
|
+
]
|
|
280
|
+
|
|
281
|
+
[[package]]
|
|
282
|
+
name = "rustc-hash"
|
|
283
|
+
version = "2.1.1"
|
|
284
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
285
|
+
checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d"
|
|
286
|
+
|
|
287
|
+
[[package]]
|
|
288
|
+
name = "syn"
|
|
289
|
+
version = "2.0.117"
|
|
290
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
291
|
+
checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99"
|
|
292
|
+
dependencies = [
|
|
293
|
+
"proc-macro2",
|
|
294
|
+
"quote",
|
|
295
|
+
"unicode-ident",
|
|
296
|
+
]
|
|
297
|
+
|
|
298
|
+
[[package]]
|
|
299
|
+
name = "target-lexicon"
|
|
300
|
+
version = "0.13.5"
|
|
301
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
302
|
+
checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
|
|
303
|
+
|
|
304
|
+
[[package]]
|
|
305
|
+
name = "unicode-ident"
|
|
306
|
+
version = "1.0.24"
|
|
307
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
308
|
+
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
lroche-0.1.0/Cargo.toml
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
[package]
|
|
2
|
+
name = "lroche"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
edition = "2024"
|
|
5
|
+
|
|
6
|
+
[lib]
|
|
7
|
+
name = "lroche"
|
|
8
|
+
crate-type = ["cdylib"]
|
|
9
|
+
|
|
10
|
+
[dependencies]
|
|
11
|
+
ndarray = "0.16.1"
|
|
12
|
+
bulirsch = "0.1.12"
|
|
13
|
+
numpy = "0.28.0"
|
|
14
|
+
rayon = "1.10"
|
|
15
|
+
|
|
16
|
+
[dependencies.pyo3]
|
|
17
|
+
version = "0.28.2"
|
|
18
|
+
features = ["extension-module", "abi3-py38"]
|
lroche-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Alex Brown
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
lroche-0.1.0/PKG-INFO
ADDED
lroche-0.1.0/README.rst
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
Python extension of the lroche routine from Tom Marsh's LCURVE (cpp-lcurve) translated into Rust
|
|
2
|
+
===================================
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
.. code-block:: python
|
|
6
|
+
|
|
7
|
+
import lroche
|
|
8
|
+
|
|
9
|
+
model = lroche.BinaryModel.from_file("WDdM.mod")
|
|
10
|
+
|
|
11
|
+
load in your data in python and then convert each column to a contiguous array.
|
|
12
|
+
|
|
13
|
+
.. code-block:: python
|
|
14
|
+
|
|
15
|
+
time = np.ascontiguousarray(time)
|
|
16
|
+
t_exp = np.ascontiguousarray(t_exp)
|
|
17
|
+
flux = np.ascontiguousarray(flux)
|
|
18
|
+
flux_err = np.ascontiguousarray(flux_err)
|
|
19
|
+
weight = np.ascontiguousarray(weight)
|
|
20
|
+
n_div = np.ascontiguousarray(n_div)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
Then calculate the model. Note that flux, flux_err, and weight are optional. If flux and flux_err are supplied then the returned light curve model will be scaled to match the data. If weights are not given they will be assumed to be 1.
|
|
24
|
+
|
|
25
|
+
.. code-block:: python
|
|
26
|
+
|
|
27
|
+
lc = model.compute_light_curve(time, t_exp, n_div, flux, flux_err, weight)
|
|
28
|
+
|
|
29
|
+
fig, ax = plt.subplots
|
|
30
|
+
ax.plot(time, lc.star1)
|
|
31
|
+
ax.plot(time, lc.star2)
|
|
32
|
+
ax.plot(time, lc.disc)
|
|
33
|
+
ax.plot(time, lc.disc_edge)
|
|
34
|
+
ax.plot(time, lc.bright_spot)
|
|
35
|
+
ax.plot(time, lc.total)
|
|
36
|
+
plt.show()
|