1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
|
%global _empty_manifest_terminate_build 0
Name: python-exotic
Version: 2.10.0
Release: 1
Summary: EXOTIC: EXOplanet Transit Interpretation Code
License: Proprietary -- Copyright (c) 2019-present, California Institute of Technology.
URL: https://github.com/rzellem/EXOTIC
Source0: https://mirrors.nju.edu.cn/pypi/web/packages/08/1d/84f3bf68cc5357ccde994db3adaad81b634a16cbc34f9890448ffd7ee209/exotic-2.10.0.zip
BuildArch: noarch
Requires: python3-astroalign
Requires: python3-astropy
Requires: python3-astroquery
Requires: python3-barycorrpy
Requires: python3-holoviews
Requires: python3-imreg-dft
Requires: python3-LDTk
Requires: python3-lmfit
Requires: python3-matplotlib
Requires: python3-numpy
Requires: python3-pandas
Requires: python3-panel
Requires: python3-photutils
Requires: python3-pylightcurve
Requires: python3-dateutil
Requires: python3-version
Requires: python3-pyvo
Requires: python3-requests
Requires: python3-scipy
Requires: python3-scikit-image
Requires: python3-tenacity
Requires: python3-ultranest
Requires: python3-dynesty
Requires: python3-importlib-metadata
%description
# EXOTIC (EXOplanet Transit Interpretation Code)
[](https://pypi.python.org/pypi/exotic/)
[](https://github.com/rzellem/EXOTIC/blob/main/LICENSE)
[](https://ui.adsabs.harvard.edu/abs/2020PASP..132e4401Z/abstract/)
A Python 3 package for analyzing photometric data of transiting exoplanets into lightcurves and retrieving transit epochs and planetary radii.
The EXOplanet Transit Interpretation Code relies upon the [transit method](https://exoplanets.nasa.gov/alien-worlds/ways-to-find-a-planet/#/2) for exoplanet detection. This method detects exoplanets by measuring the dimming of a star as an orbiting planet transits, which is when it passes between its host star and the Earth. If we record the host star’s emitted light, known as the flux, and observe how it changes as a function of time, we should observe a small dip in the brightness when a transit event occurs. A graph of host star flux vs. time is known as a lightcurve, and it holds the key to determining how large the planet is, and how long it will be until it transits again.

(NASA Ames)
The objective of this pipeline is to help you reduce your images of your transiting exoplanet into a lightcurve, and fit a model to your data to extract planetary information that is crucial to increasing the efficiency of larger observational platforms, and futhering our astronomical knowledge.
## New Users
Below are the instructions for installing and running EXOTIC for the first time. However, if you are a new user, we recommend you follow the "How to Run EXOTIC Locally on your Computer using the Sample Data" tutorial, which includes detailed installation instructions, on our website under ["How to Analyze Your Exoplanet Observations"](https://exoplanets.nasa.gov/exoplanet-watch/how-to-contribute/how-to-reduce-your-data/).
## Installation and Running
EXOTIC can run on a Windows, Macintosh, or Linux/Unix computer. You can also use EXOTIC via the free Google Colab, which features cloud computing, many helpful plotting functions, and a simplified installation. However, if you are a user with many images or large images, we recommend running EXOTIC locally on your own computer.
**Google Colab Cloud**
- Features: does not require the user to install any software locally on their own computer.
- Limitations: Requires user to upload their images to a free Gdrive account.
- Recommendations: If you run out of space on your default Google/Gdrive account, you can sign up for a new, free account to use. Some users even make a new Google account for every new dataset to avoid running out of space.
- [How to use EXOTIC on the Colab video](https://drive.google.com/file/d/10zlQRgT8iV3dSe0FVW7tiL-V86ewai_1/view)
- [How to use EXOTIC on the Colab written instructions](http://docs.google.com/document/d/1GLnfX1DdGPpd1ArKNcoF2GGV6pwKR3aEYuwjSQlhiZQ/edit?usp=sharing)
- [EXOTIC: Google Colab Cloud Version](https://colab.research.google.com/drive/1UcDfm3z1WnfdOpRwjCQYwDgK9Wh2cU6x?usp=sharing) (includes step-by-step instructions)
**Locally On Your Own Computer**
- Features: Images are read off of the user's harddrive- nothing is uploaded to Gdrive. This method can be helpful for those with large filesizes, many files, or a slow internet connection.
- Limitations: Requires user to install Python3 and multiple subpackages.
- Installation Instructions:
1. [Download and install the latest release of Python.](https://www.python.org/downloads/)
**NOTE FOR WINDOWS USERS:** make sure to check the box "Add Python to PATH" when installing.
**NOTE FOR ALL USERS:** please download and install the latest release of Python, even if you have a previous installation already on your computer, to ensure that all Python packages are properly installed.
2. [Download the latest release of EXOTIC.](https://github.com/rzellem/EXOTIC/releases)
3. Unzip this file.
4. Double-click on the appropriate installer for your operating system:
- Windows: run_exotic_windows.bat
- Macintosh: run_exotic_macintosh.command
- Linux: run_exotic_linux.sh
5. If you get a security warning about the software being from an unidentified, unsigned, or non-trusted developer, you can bypass it by:
- Windows: click "More info" and then the "Run away" box at the bottom of the window.
- Macintosh: Please follow [these instructions](https://support.apple.com/guide/mac-help/open-a-mac-app-from-an-unidentified-developer-mh40616/mac).
- **We also recommend that you download our [sample transiting exoplanet dataset](https://github.com/rzellem/EXOTIC_sampledata)** to confirm that EXOTIC is running correctly on the Google Colab Cloud or your own computer.
- How EXOTIC Works
- [Document](https://github.com/rzellem/EXOTIC/blob/main/Documentation/English/How-EXOTIC-Works.pdf)
- [Video](https://drive.google.com/file/d/1x0kl8WtpEw9wS0JInbjVWvdzuTc9TTvS/view)
- Lastly, we offer these documents [in other languages](https://github.com/rzellem/EXOTIC/raw/main/Documentation/)
## Requirements
FITS files with a modern header including parameters for UT time, exposure time, WCS coordinations (optional) are required for EXOTIC.
## Sample Data and Outputs
We provide a [sample dataset](https://github.com/rzellem/EXOTIC_sampledata/releases/) consisting of 142 `fits` files taken by a 6” telescope of the exoplanet HAT-P-32 b (V-mag = 11.44) observed on December 20, 2017. The telescope used to collect this dataset is part of the [MicroObservatory Robotic Telescope Network](http://microobservatory.org) operated by the Harvard-Smithsonian Center for Astrophysics.
[Sample Data](https://github.com/rzellem/EXOTIC_sampledata/releases/)
A lightcurve from the sample dataset is shown below:

For the full output of EXOTIC please see the [example output](https://github.com/rzellem/EXOTIC/raw/main/Documentation/English/example_output.txt)
```
*********************************************************
FINAL PLANETARY PARAMETERS
Mid-Transit Time [BJD_TDB]: 2458107.71406 +/- 0.00097
Radius Ratio (Planet/Star) [Rp/Rs]: 0.1541 +/- 0.0033
Transit depth [(Rp/Rs)^2]: 2.37 +/- 0.1 [%]
Semi Major Axis/ Star Radius [a/Rs]: 5.213 +/- 0.061
Airmass coefficient 1: 1.1626 +/- 0.0037
Airmass coefficient 2: -0.1184 +/- 0.0024
Residual scatter: 0.55 %
Best Comparison Star: None
Optimal Aperture: 4.09
Optimal Annulus: 10.74
Transit Duration [day]: 0.13 +/- 0.0017
*********************************************************
```
## Initializaton File
Get EXOTIC up and running faster with a json file. Please see the included file ([inits.json](inits.json)) meant for the [sample data](https://github.com/rzellem/EXOTIC_sampledata). The initialization file has the following fields:
```json
{
"user_info": {
"Directory with FITS files": "sample-data/HatP32Dec202017",
"Directory to Save Plots": "sample-data/",
"Directory of Flats": null,
"Directory of Darks": null,
"Directory of Biases": null,
"AAVSO Observer Code (blank if none)": "RTZ",
"Secondary Observer Codes (blank if none)": "",
"Observation date": "17-December-2017",
"Obs. Latitude": "+32.41638889",
"Obs. Longitude": "-110.73444444",
"Obs. Elevation (meters)": 2616,
"Camera Type (CCD or DSLR)": "CCD",
"Pixel Binning": "1x1",
"Filter Name (aavso.org/filters)": "V",
"Observing Notes": "Weather, seeing was nice.",
"Plate Solution? (y/n)": "y",
"Target Star X & Y Pixel": [424, 286],
"Comparison Star(s) X & Y Pixel": [[465, 183], [512, 263], [], [], [], [], [], [], [], []]
},
"planetary_parameters": {
"Target Star RA": "02:04:10",
"Target Star Dec": "+46:41:23",
"Planet Name": "HAT-P-32 b",
"Host Star Name": "HAT-P-32",
"Orbital Period (days)": 2.1500082,
"Orbital Period Uncertainty": 1.3e-07,
"Published Mid-Transit Time (BJD-UTC)": 2455867.402743,
"Mid-Transit Time Uncertainty": 4.9e-05,
"Ratio of Planet to Stellar Radius (Rp/Rs)": 0.14886235252742716,
"Ratio of Planet to Stellar Radius (Rp/Rs) Uncertainty": 0.0005539487393037134,
"Ratio of Distance to Stellar Radius (a/Rs)": 5.344,
"Ratio of Distance to Stellar Radius (a/Rs) Uncertainty": 0.039496835316262996,
"Orbital Inclination (deg)": 88.98,
"Orbital Inclination (deg) Uncertainty": 0.7602631123499285,
"Orbital Eccentricity (0 if null)": 0.159,
"Star Effective Temperature (K)": 6001.0,
"Star Effective Temperature (+) Uncertainty": 88.0,
"Star Effective Temperature (-) Uncertainty": -88.0,
"Star Metallicity ([FE/H])": -0.16,
"Star Metallicity (+) Uncertainty": 0.08,
"Star Metallicity (-) Uncertainty": -0.08,
"Star Surface Gravity (log(g))": 4.22,
"Star Surface Gravity (+) Uncertainty": 0.04,
"Star Surface Gravity (-) Uncertainty": -0.04
},
"optional_info": {
"Pre-reduced File:": "/sample-data/NormalizedFlux_HAT-P-32 b_December 17, 2017.txt",
"Pre-reduced File Time Format (BJD_TDB, JD_UTC, MJD_UTC)": "BJD_TDB",
"Pre-reduced File Units of Flux (flux, magnitude, millimagnitude)": "flux",
"Filter Minimum Wavelength (nm)": null,
"Filter Maximum Wavelength (nm)": null,
"Pixel Scale (Ex: 5.21 arcsecs/pixel)": null,
"Exposure Time (s)": 60.0
}
}
```
## Features and Pipeline Architecture
- Automatic Plate Solution from http://nova.astrometry.net
- Resolve targets with [NASA Exoplanet Archive](https://exoplanetarchive.ipac.caltech.edu/) + retrieve light curve priors
- Hot Pixel Masking

- Aperture Photometry with PSF centroiding (2D Gaussian + rotation)

- Stellar masking in background estimate

- Multiple comparison star + aperture size optimization
- Non-linear 4 parameter limb darkening with [LDTK](https://github.com/hpparvi/ldtk)
- Light curve parameter optimization with [Nested Sampling](https://dynesty.readthedocs.io/en/latest/index.html)

## Contributing to EXOTIC
EXOTIC is an open source project that welcomes contributions. Please fork the repository and submit a pull request to the develop branch for your addition(s) to be reviewed.
## Citation
If you use any of these algorithms in your work, please cite our 2020 paper: [Zellem, Pearson, Blaser, et al. 2020](https://ui.adsabs.harvard.edu/abs/2020arXiv200309046Z/abstract)
Please also include the following statement in your paper's Acknowledgements section:
>This publication makes use of data products from Exoplanet Watch, a citizen science project managed by NASA’s Jet Propulsion Laboratory on behalf of NASA’s Universe of Learning. This work is supported by NASA under award number NNX16AC65A to the Space Telescope Science Institute.
## Exoplanet Watch

Contribute to [Exoplanet Watch](https://exoplanets.nasa.gov/exoplanet-watch/about-exoplanet-watch/), a citizen science project that improves the properties of exoplanets and their orbits using observations processed with EXOTIC. Register with [AAVSO](https://www.aavso.org/exoplanet-section) and input your Observer Code to help track your contributions allowing for proper credit on future publications using those measurements. Ask about our Exoplanet Watch Slack Channel!
## Acknowledgements
Exoplanet Watch is a project by NASA's Universe of Learning. NASA's Universe of Learning materials are based upon work supported by NASA under award number NNX16AC65A to the Space Telescope Science Institute, working in partnership with Caltech/IPAC, Center for Astrophysics | Harvard & Smithsonian, and the Jet Propulsion Laboratory.
%package -n python3-exotic
Summary: EXOTIC: EXOplanet Transit Interpretation Code
Provides: python-exotic
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
%description -n python3-exotic
# EXOTIC (EXOplanet Transit Interpretation Code)
[](https://pypi.python.org/pypi/exotic/)
[](https://github.com/rzellem/EXOTIC/blob/main/LICENSE)
[](https://ui.adsabs.harvard.edu/abs/2020PASP..132e4401Z/abstract/)
A Python 3 package for analyzing photometric data of transiting exoplanets into lightcurves and retrieving transit epochs and planetary radii.
The EXOplanet Transit Interpretation Code relies upon the [transit method](https://exoplanets.nasa.gov/alien-worlds/ways-to-find-a-planet/#/2) for exoplanet detection. This method detects exoplanets by measuring the dimming of a star as an orbiting planet transits, which is when it passes between its host star and the Earth. If we record the host star’s emitted light, known as the flux, and observe how it changes as a function of time, we should observe a small dip in the brightness when a transit event occurs. A graph of host star flux vs. time is known as a lightcurve, and it holds the key to determining how large the planet is, and how long it will be until it transits again.

(NASA Ames)
The objective of this pipeline is to help you reduce your images of your transiting exoplanet into a lightcurve, and fit a model to your data to extract planetary information that is crucial to increasing the efficiency of larger observational platforms, and futhering our astronomical knowledge.
## New Users
Below are the instructions for installing and running EXOTIC for the first time. However, if you are a new user, we recommend you follow the "How to Run EXOTIC Locally on your Computer using the Sample Data" tutorial, which includes detailed installation instructions, on our website under ["How to Analyze Your Exoplanet Observations"](https://exoplanets.nasa.gov/exoplanet-watch/how-to-contribute/how-to-reduce-your-data/).
## Installation and Running
EXOTIC can run on a Windows, Macintosh, or Linux/Unix computer. You can also use EXOTIC via the free Google Colab, which features cloud computing, many helpful plotting functions, and a simplified installation. However, if you are a user with many images or large images, we recommend running EXOTIC locally on your own computer.
**Google Colab Cloud**
- Features: does not require the user to install any software locally on their own computer.
- Limitations: Requires user to upload their images to a free Gdrive account.
- Recommendations: If you run out of space on your default Google/Gdrive account, you can sign up for a new, free account to use. Some users even make a new Google account for every new dataset to avoid running out of space.
- [How to use EXOTIC on the Colab video](https://drive.google.com/file/d/10zlQRgT8iV3dSe0FVW7tiL-V86ewai_1/view)
- [How to use EXOTIC on the Colab written instructions](http://docs.google.com/document/d/1GLnfX1DdGPpd1ArKNcoF2GGV6pwKR3aEYuwjSQlhiZQ/edit?usp=sharing)
- [EXOTIC: Google Colab Cloud Version](https://colab.research.google.com/drive/1UcDfm3z1WnfdOpRwjCQYwDgK9Wh2cU6x?usp=sharing) (includes step-by-step instructions)
**Locally On Your Own Computer**
- Features: Images are read off of the user's harddrive- nothing is uploaded to Gdrive. This method can be helpful for those with large filesizes, many files, or a slow internet connection.
- Limitations: Requires user to install Python3 and multiple subpackages.
- Installation Instructions:
1. [Download and install the latest release of Python.](https://www.python.org/downloads/)
**NOTE FOR WINDOWS USERS:** make sure to check the box "Add Python to PATH" when installing.
**NOTE FOR ALL USERS:** please download and install the latest release of Python, even if you have a previous installation already on your computer, to ensure that all Python packages are properly installed.
2. [Download the latest release of EXOTIC.](https://github.com/rzellem/EXOTIC/releases)
3. Unzip this file.
4. Double-click on the appropriate installer for your operating system:
- Windows: run_exotic_windows.bat
- Macintosh: run_exotic_macintosh.command
- Linux: run_exotic_linux.sh
5. If you get a security warning about the software being from an unidentified, unsigned, or non-trusted developer, you can bypass it by:
- Windows: click "More info" and then the "Run away" box at the bottom of the window.
- Macintosh: Please follow [these instructions](https://support.apple.com/guide/mac-help/open-a-mac-app-from-an-unidentified-developer-mh40616/mac).
- **We also recommend that you download our [sample transiting exoplanet dataset](https://github.com/rzellem/EXOTIC_sampledata)** to confirm that EXOTIC is running correctly on the Google Colab Cloud or your own computer.
- How EXOTIC Works
- [Document](https://github.com/rzellem/EXOTIC/blob/main/Documentation/English/How-EXOTIC-Works.pdf)
- [Video](https://drive.google.com/file/d/1x0kl8WtpEw9wS0JInbjVWvdzuTc9TTvS/view)
- Lastly, we offer these documents [in other languages](https://github.com/rzellem/EXOTIC/raw/main/Documentation/)
## Requirements
FITS files with a modern header including parameters for UT time, exposure time, WCS coordinations (optional) are required for EXOTIC.
## Sample Data and Outputs
We provide a [sample dataset](https://github.com/rzellem/EXOTIC_sampledata/releases/) consisting of 142 `fits` files taken by a 6” telescope of the exoplanet HAT-P-32 b (V-mag = 11.44) observed on December 20, 2017. The telescope used to collect this dataset is part of the [MicroObservatory Robotic Telescope Network](http://microobservatory.org) operated by the Harvard-Smithsonian Center for Astrophysics.
[Sample Data](https://github.com/rzellem/EXOTIC_sampledata/releases/)
A lightcurve from the sample dataset is shown below:

For the full output of EXOTIC please see the [example output](https://github.com/rzellem/EXOTIC/raw/main/Documentation/English/example_output.txt)
```
*********************************************************
FINAL PLANETARY PARAMETERS
Mid-Transit Time [BJD_TDB]: 2458107.71406 +/- 0.00097
Radius Ratio (Planet/Star) [Rp/Rs]: 0.1541 +/- 0.0033
Transit depth [(Rp/Rs)^2]: 2.37 +/- 0.1 [%]
Semi Major Axis/ Star Radius [a/Rs]: 5.213 +/- 0.061
Airmass coefficient 1: 1.1626 +/- 0.0037
Airmass coefficient 2: -0.1184 +/- 0.0024
Residual scatter: 0.55 %
Best Comparison Star: None
Optimal Aperture: 4.09
Optimal Annulus: 10.74
Transit Duration [day]: 0.13 +/- 0.0017
*********************************************************
```
## Initializaton File
Get EXOTIC up and running faster with a json file. Please see the included file ([inits.json](inits.json)) meant for the [sample data](https://github.com/rzellem/EXOTIC_sampledata). The initialization file has the following fields:
```json
{
"user_info": {
"Directory with FITS files": "sample-data/HatP32Dec202017",
"Directory to Save Plots": "sample-data/",
"Directory of Flats": null,
"Directory of Darks": null,
"Directory of Biases": null,
"AAVSO Observer Code (blank if none)": "RTZ",
"Secondary Observer Codes (blank if none)": "",
"Observation date": "17-December-2017",
"Obs. Latitude": "+32.41638889",
"Obs. Longitude": "-110.73444444",
"Obs. Elevation (meters)": 2616,
"Camera Type (CCD or DSLR)": "CCD",
"Pixel Binning": "1x1",
"Filter Name (aavso.org/filters)": "V",
"Observing Notes": "Weather, seeing was nice.",
"Plate Solution? (y/n)": "y",
"Target Star X & Y Pixel": [424, 286],
"Comparison Star(s) X & Y Pixel": [[465, 183], [512, 263], [], [], [], [], [], [], [], []]
},
"planetary_parameters": {
"Target Star RA": "02:04:10",
"Target Star Dec": "+46:41:23",
"Planet Name": "HAT-P-32 b",
"Host Star Name": "HAT-P-32",
"Orbital Period (days)": 2.1500082,
"Orbital Period Uncertainty": 1.3e-07,
"Published Mid-Transit Time (BJD-UTC)": 2455867.402743,
"Mid-Transit Time Uncertainty": 4.9e-05,
"Ratio of Planet to Stellar Radius (Rp/Rs)": 0.14886235252742716,
"Ratio of Planet to Stellar Radius (Rp/Rs) Uncertainty": 0.0005539487393037134,
"Ratio of Distance to Stellar Radius (a/Rs)": 5.344,
"Ratio of Distance to Stellar Radius (a/Rs) Uncertainty": 0.039496835316262996,
"Orbital Inclination (deg)": 88.98,
"Orbital Inclination (deg) Uncertainty": 0.7602631123499285,
"Orbital Eccentricity (0 if null)": 0.159,
"Star Effective Temperature (K)": 6001.0,
"Star Effective Temperature (+) Uncertainty": 88.0,
"Star Effective Temperature (-) Uncertainty": -88.0,
"Star Metallicity ([FE/H])": -0.16,
"Star Metallicity (+) Uncertainty": 0.08,
"Star Metallicity (-) Uncertainty": -0.08,
"Star Surface Gravity (log(g))": 4.22,
"Star Surface Gravity (+) Uncertainty": 0.04,
"Star Surface Gravity (-) Uncertainty": -0.04
},
"optional_info": {
"Pre-reduced File:": "/sample-data/NormalizedFlux_HAT-P-32 b_December 17, 2017.txt",
"Pre-reduced File Time Format (BJD_TDB, JD_UTC, MJD_UTC)": "BJD_TDB",
"Pre-reduced File Units of Flux (flux, magnitude, millimagnitude)": "flux",
"Filter Minimum Wavelength (nm)": null,
"Filter Maximum Wavelength (nm)": null,
"Pixel Scale (Ex: 5.21 arcsecs/pixel)": null,
"Exposure Time (s)": 60.0
}
}
```
## Features and Pipeline Architecture
- Automatic Plate Solution from http://nova.astrometry.net
- Resolve targets with [NASA Exoplanet Archive](https://exoplanetarchive.ipac.caltech.edu/) + retrieve light curve priors
- Hot Pixel Masking

- Aperture Photometry with PSF centroiding (2D Gaussian + rotation)

- Stellar masking in background estimate

- Multiple comparison star + aperture size optimization
- Non-linear 4 parameter limb darkening with [LDTK](https://github.com/hpparvi/ldtk)
- Light curve parameter optimization with [Nested Sampling](https://dynesty.readthedocs.io/en/latest/index.html)

## Contributing to EXOTIC
EXOTIC is an open source project that welcomes contributions. Please fork the repository and submit a pull request to the develop branch for your addition(s) to be reviewed.
## Citation
If you use any of these algorithms in your work, please cite our 2020 paper: [Zellem, Pearson, Blaser, et al. 2020](https://ui.adsabs.harvard.edu/abs/2020arXiv200309046Z/abstract)
Please also include the following statement in your paper's Acknowledgements section:
>This publication makes use of data products from Exoplanet Watch, a citizen science project managed by NASA’s Jet Propulsion Laboratory on behalf of NASA’s Universe of Learning. This work is supported by NASA under award number NNX16AC65A to the Space Telescope Science Institute.
## Exoplanet Watch

Contribute to [Exoplanet Watch](https://exoplanets.nasa.gov/exoplanet-watch/about-exoplanet-watch/), a citizen science project that improves the properties of exoplanets and their orbits using observations processed with EXOTIC. Register with [AAVSO](https://www.aavso.org/exoplanet-section) and input your Observer Code to help track your contributions allowing for proper credit on future publications using those measurements. Ask about our Exoplanet Watch Slack Channel!
## Acknowledgements
Exoplanet Watch is a project by NASA's Universe of Learning. NASA's Universe of Learning materials are based upon work supported by NASA under award number NNX16AC65A to the Space Telescope Science Institute, working in partnership with Caltech/IPAC, Center for Astrophysics | Harvard & Smithsonian, and the Jet Propulsion Laboratory.
%package help
Summary: Development documents and examples for exotic
Provides: python3-exotic-doc
%description help
# EXOTIC (EXOplanet Transit Interpretation Code)
[](https://pypi.python.org/pypi/exotic/)
[](https://github.com/rzellem/EXOTIC/blob/main/LICENSE)
[](https://ui.adsabs.harvard.edu/abs/2020PASP..132e4401Z/abstract/)
A Python 3 package for analyzing photometric data of transiting exoplanets into lightcurves and retrieving transit epochs and planetary radii.
The EXOplanet Transit Interpretation Code relies upon the [transit method](https://exoplanets.nasa.gov/alien-worlds/ways-to-find-a-planet/#/2) for exoplanet detection. This method detects exoplanets by measuring the dimming of a star as an orbiting planet transits, which is when it passes between its host star and the Earth. If we record the host star’s emitted light, known as the flux, and observe how it changes as a function of time, we should observe a small dip in the brightness when a transit event occurs. A graph of host star flux vs. time is known as a lightcurve, and it holds the key to determining how large the planet is, and how long it will be until it transits again.

(NASA Ames)
The objective of this pipeline is to help you reduce your images of your transiting exoplanet into a lightcurve, and fit a model to your data to extract planetary information that is crucial to increasing the efficiency of larger observational platforms, and futhering our astronomical knowledge.
## New Users
Below are the instructions for installing and running EXOTIC for the first time. However, if you are a new user, we recommend you follow the "How to Run EXOTIC Locally on your Computer using the Sample Data" tutorial, which includes detailed installation instructions, on our website under ["How to Analyze Your Exoplanet Observations"](https://exoplanets.nasa.gov/exoplanet-watch/how-to-contribute/how-to-reduce-your-data/).
## Installation and Running
EXOTIC can run on a Windows, Macintosh, or Linux/Unix computer. You can also use EXOTIC via the free Google Colab, which features cloud computing, many helpful plotting functions, and a simplified installation. However, if you are a user with many images or large images, we recommend running EXOTIC locally on your own computer.
**Google Colab Cloud**
- Features: does not require the user to install any software locally on their own computer.
- Limitations: Requires user to upload their images to a free Gdrive account.
- Recommendations: If you run out of space on your default Google/Gdrive account, you can sign up for a new, free account to use. Some users even make a new Google account for every new dataset to avoid running out of space.
- [How to use EXOTIC on the Colab video](https://drive.google.com/file/d/10zlQRgT8iV3dSe0FVW7tiL-V86ewai_1/view)
- [How to use EXOTIC on the Colab written instructions](http://docs.google.com/document/d/1GLnfX1DdGPpd1ArKNcoF2GGV6pwKR3aEYuwjSQlhiZQ/edit?usp=sharing)
- [EXOTIC: Google Colab Cloud Version](https://colab.research.google.com/drive/1UcDfm3z1WnfdOpRwjCQYwDgK9Wh2cU6x?usp=sharing) (includes step-by-step instructions)
**Locally On Your Own Computer**
- Features: Images are read off of the user's harddrive- nothing is uploaded to Gdrive. This method can be helpful for those with large filesizes, many files, or a slow internet connection.
- Limitations: Requires user to install Python3 and multiple subpackages.
- Installation Instructions:
1. [Download and install the latest release of Python.](https://www.python.org/downloads/)
**NOTE FOR WINDOWS USERS:** make sure to check the box "Add Python to PATH" when installing.
**NOTE FOR ALL USERS:** please download and install the latest release of Python, even if you have a previous installation already on your computer, to ensure that all Python packages are properly installed.
2. [Download the latest release of EXOTIC.](https://github.com/rzellem/EXOTIC/releases)
3. Unzip this file.
4. Double-click on the appropriate installer for your operating system:
- Windows: run_exotic_windows.bat
- Macintosh: run_exotic_macintosh.command
- Linux: run_exotic_linux.sh
5. If you get a security warning about the software being from an unidentified, unsigned, or non-trusted developer, you can bypass it by:
- Windows: click "More info" and then the "Run away" box at the bottom of the window.
- Macintosh: Please follow [these instructions](https://support.apple.com/guide/mac-help/open-a-mac-app-from-an-unidentified-developer-mh40616/mac).
- **We also recommend that you download our [sample transiting exoplanet dataset](https://github.com/rzellem/EXOTIC_sampledata)** to confirm that EXOTIC is running correctly on the Google Colab Cloud or your own computer.
- How EXOTIC Works
- [Document](https://github.com/rzellem/EXOTIC/blob/main/Documentation/English/How-EXOTIC-Works.pdf)
- [Video](https://drive.google.com/file/d/1x0kl8WtpEw9wS0JInbjVWvdzuTc9TTvS/view)
- Lastly, we offer these documents [in other languages](https://github.com/rzellem/EXOTIC/raw/main/Documentation/)
## Requirements
FITS files with a modern header including parameters for UT time, exposure time, WCS coordinations (optional) are required for EXOTIC.
## Sample Data and Outputs
We provide a [sample dataset](https://github.com/rzellem/EXOTIC_sampledata/releases/) consisting of 142 `fits` files taken by a 6” telescope of the exoplanet HAT-P-32 b (V-mag = 11.44) observed on December 20, 2017. The telescope used to collect this dataset is part of the [MicroObservatory Robotic Telescope Network](http://microobservatory.org) operated by the Harvard-Smithsonian Center for Astrophysics.
[Sample Data](https://github.com/rzellem/EXOTIC_sampledata/releases/)
A lightcurve from the sample dataset is shown below:

For the full output of EXOTIC please see the [example output](https://github.com/rzellem/EXOTIC/raw/main/Documentation/English/example_output.txt)
```
*********************************************************
FINAL PLANETARY PARAMETERS
Mid-Transit Time [BJD_TDB]: 2458107.71406 +/- 0.00097
Radius Ratio (Planet/Star) [Rp/Rs]: 0.1541 +/- 0.0033
Transit depth [(Rp/Rs)^2]: 2.37 +/- 0.1 [%]
Semi Major Axis/ Star Radius [a/Rs]: 5.213 +/- 0.061
Airmass coefficient 1: 1.1626 +/- 0.0037
Airmass coefficient 2: -0.1184 +/- 0.0024
Residual scatter: 0.55 %
Best Comparison Star: None
Optimal Aperture: 4.09
Optimal Annulus: 10.74
Transit Duration [day]: 0.13 +/- 0.0017
*********************************************************
```
## Initializaton File
Get EXOTIC up and running faster with a json file. Please see the included file ([inits.json](inits.json)) meant for the [sample data](https://github.com/rzellem/EXOTIC_sampledata). The initialization file has the following fields:
```json
{
"user_info": {
"Directory with FITS files": "sample-data/HatP32Dec202017",
"Directory to Save Plots": "sample-data/",
"Directory of Flats": null,
"Directory of Darks": null,
"Directory of Biases": null,
"AAVSO Observer Code (blank if none)": "RTZ",
"Secondary Observer Codes (blank if none)": "",
"Observation date": "17-December-2017",
"Obs. Latitude": "+32.41638889",
"Obs. Longitude": "-110.73444444",
"Obs. Elevation (meters)": 2616,
"Camera Type (CCD or DSLR)": "CCD",
"Pixel Binning": "1x1",
"Filter Name (aavso.org/filters)": "V",
"Observing Notes": "Weather, seeing was nice.",
"Plate Solution? (y/n)": "y",
"Target Star X & Y Pixel": [424, 286],
"Comparison Star(s) X & Y Pixel": [[465, 183], [512, 263], [], [], [], [], [], [], [], []]
},
"planetary_parameters": {
"Target Star RA": "02:04:10",
"Target Star Dec": "+46:41:23",
"Planet Name": "HAT-P-32 b",
"Host Star Name": "HAT-P-32",
"Orbital Period (days)": 2.1500082,
"Orbital Period Uncertainty": 1.3e-07,
"Published Mid-Transit Time (BJD-UTC)": 2455867.402743,
"Mid-Transit Time Uncertainty": 4.9e-05,
"Ratio of Planet to Stellar Radius (Rp/Rs)": 0.14886235252742716,
"Ratio of Planet to Stellar Radius (Rp/Rs) Uncertainty": 0.0005539487393037134,
"Ratio of Distance to Stellar Radius (a/Rs)": 5.344,
"Ratio of Distance to Stellar Radius (a/Rs) Uncertainty": 0.039496835316262996,
"Orbital Inclination (deg)": 88.98,
"Orbital Inclination (deg) Uncertainty": 0.7602631123499285,
"Orbital Eccentricity (0 if null)": 0.159,
"Star Effective Temperature (K)": 6001.0,
"Star Effective Temperature (+) Uncertainty": 88.0,
"Star Effective Temperature (-) Uncertainty": -88.0,
"Star Metallicity ([FE/H])": -0.16,
"Star Metallicity (+) Uncertainty": 0.08,
"Star Metallicity (-) Uncertainty": -0.08,
"Star Surface Gravity (log(g))": 4.22,
"Star Surface Gravity (+) Uncertainty": 0.04,
"Star Surface Gravity (-) Uncertainty": -0.04
},
"optional_info": {
"Pre-reduced File:": "/sample-data/NormalizedFlux_HAT-P-32 b_December 17, 2017.txt",
"Pre-reduced File Time Format (BJD_TDB, JD_UTC, MJD_UTC)": "BJD_TDB",
"Pre-reduced File Units of Flux (flux, magnitude, millimagnitude)": "flux",
"Filter Minimum Wavelength (nm)": null,
"Filter Maximum Wavelength (nm)": null,
"Pixel Scale (Ex: 5.21 arcsecs/pixel)": null,
"Exposure Time (s)": 60.0
}
}
```
## Features and Pipeline Architecture
- Automatic Plate Solution from http://nova.astrometry.net
- Resolve targets with [NASA Exoplanet Archive](https://exoplanetarchive.ipac.caltech.edu/) + retrieve light curve priors
- Hot Pixel Masking

- Aperture Photometry with PSF centroiding (2D Gaussian + rotation)

- Stellar masking in background estimate

- Multiple comparison star + aperture size optimization
- Non-linear 4 parameter limb darkening with [LDTK](https://github.com/hpparvi/ldtk)
- Light curve parameter optimization with [Nested Sampling](https://dynesty.readthedocs.io/en/latest/index.html)

## Contributing to EXOTIC
EXOTIC is an open source project that welcomes contributions. Please fork the repository and submit a pull request to the develop branch for your addition(s) to be reviewed.
## Citation
If you use any of these algorithms in your work, please cite our 2020 paper: [Zellem, Pearson, Blaser, et al. 2020](https://ui.adsabs.harvard.edu/abs/2020arXiv200309046Z/abstract)
Please also include the following statement in your paper's Acknowledgements section:
>This publication makes use of data products from Exoplanet Watch, a citizen science project managed by NASA’s Jet Propulsion Laboratory on behalf of NASA’s Universe of Learning. This work is supported by NASA under award number NNX16AC65A to the Space Telescope Science Institute.
## Exoplanet Watch

Contribute to [Exoplanet Watch](https://exoplanets.nasa.gov/exoplanet-watch/about-exoplanet-watch/), a citizen science project that improves the properties of exoplanets and their orbits using observations processed with EXOTIC. Register with [AAVSO](https://www.aavso.org/exoplanet-section) and input your Observer Code to help track your contributions allowing for proper credit on future publications using those measurements. Ask about our Exoplanet Watch Slack Channel!
## Acknowledgements
Exoplanet Watch is a project by NASA's Universe of Learning. NASA's Universe of Learning materials are based upon work supported by NASA under award number NNX16AC65A to the Space Telescope Science Institute, working in partnership with Caltech/IPAC, Center for Astrophysics | Harvard & Smithsonian, and the Jet Propulsion Laboratory.
%prep
%autosetup -n exotic-2.10.0
%build
%py3_build
%install
%py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
fi
touch doclist.lst
if [ -d usr/share/man ]; then
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%files -n python3-exotic -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 2.10.0-1
- Package Spec generated
|