@@ -37,12 +37,13 @@ You may test your installation by using ``pysyd --help`` to see available comman
37
37
-h, --help show this help message and exit
38
38
-version, --version Print version number and exit.
39
39
40
- pySYD :ref:` modes` :
41
- {setup,load,run,parallel}
42
- setup Easy setup of relevant directories and files
43
- load Load in data for a given target
44
- run Run the main pySYD pipeline
40
+ pySYD modes:
41
+ {load,parallel,run,setup,test}
42
+ load Load in data for a given target
45
43
parallel Run pySYD in parallel
44
+ run Run the main pySYD pipeline
45
+ setup Easy setup of relevant directories and files
46
+ test Test different utilities (currently under development)
46
47
47
48
48
49
Setting Up
@@ -76,18 +77,78 @@ Example Fit
76
77
If you ran the setup feature, there are data for three example stars provided: 1435467 (the least evolved),
77
78
2309595 (~SG), and 11618103 (RGB). To run a single star, execute the main script with the following command:
78
79
80
+
79
81
.. code-block :: bash
80
82
81
- $ pysyd run -star 1435467 -show -verbose
82
- add output and figures
83
+ $ pysyd run --star 1435467 -dv
84
+
85
+
86
+ ------------------------------------------------------
87
+ Target: 1435467
88
+ ------------------------------------------------------
89
+ # LIGHT CURVE: 37919 lines of data read
90
+ # Time series cadence: 59 seconds
91
+ # POWER SPECTRUM: 99518 lines of data read
92
+ # PS is oversampled by a factor of 5
93
+ # PS resolution: 0.426868 muHz
94
+ ------------------------------------------------------
95
+ Estimating numax:
96
+ PS binned to 189 datapoints
97
+ Numax estimate 1: 1430.02 +/- 72.61
98
+ S/N: 2.43
99
+ Numax estimate 2: 1479.46 +/- 60.64
100
+ S/N: 4.87
101
+ Numax estimate 3: 1447.42 +/- 93.31
102
+ S/N: 13.72
103
+ Selecting model 3
104
+ ------------------------------------------------------
105
+ Determining background model:
106
+ PS binned to 419 data points
107
+ Comparing 6 different models:
108
+ Model 0: 0 Harvey-like component(s) + white noise fixed
109
+ Model 1: 0 Harvey-like component(s) + white noise term
110
+ Model 2: 1 Harvey-like component(s) + white noise fixed
111
+ Model 3: 1 Harvey-like component(s) + white noise term
112
+ Model 4: 2 Harvey-like component(s) + white noise fixed
113
+ Model 5: 2 Harvey-like component(s) + white noise term
114
+ Based on BIC statistic: model 2
115
+ ** background-corrected PS saved**
116
+ ------------------------------------------------------
117
+ Output parameters:
118
+ tau_1: 233.71 s
119
+ sigma_1: 87.45 ppm
120
+ numax_smooth: 1299.56 muHz
121
+ A_smooth: 1.75 ppm^2/muHz
122
+ numax_gauss: 1345.03 muHz
123
+ A_gauss: 1.49 ppm^2/muHz
124
+ FWHM: 291.32 muHz
125
+ dnu: 70.63 muHz
126
+ ------------------------------------------------------
127
+ - displaying figures
128
+ - press RETURN to exit
129
+ - combining results into single csv file
130
+ ------------------------------------------------------
131
+
132
+
83
133
84
- ``pySYD `` is optimized for running multiple stars and therefore by default, both the ``-verbose `` and ``-show ``
85
- (i.e. the output plots) options are set to ``False ``. We recommend using them for the example, since they are helpful to see how
86
- the pipeline processes targets. The above command should yield the following output:
134
+ Here, ``-dv `` means ``-d `` and ``-v `` which stand for display (figures) and verbose output,
135
+ respectively. Since ``pySYD `` is optimized for running multiple stars, both of these are
136
+ typically ``False `` by default. We recommend using them for the example, since they are
137
+ helpful to see how the pipeline processes targets.
87
138
88
- .. code-block :: bash
139
+ The above command should have yielded the following output figures:
140
+
141
+ .. image :: figures/quickstart/1435467_numax.png
142
+ :width: 680
143
+ :alt: Estimate of numax for KIC 1435467
144
+
145
+ from the first optional module that estimates numax (using 3 different trials).
146
+ All parameter derivations are done in the global fit, which are encapsulated in
147
+ this figure:
89
148
90
- get it.
149
+ .. image :: figures/quickstart/1435467_global.png
150
+ :width: 680
151
+ :alt: Global fit for KIC 1435467
91
152
92
153
To estimate uncertainties in the derived parameters, set ``-mc `` to a number sufficient for bootstrap sampling. In the previous
93
154
example, ``-mc `` was not specified and is 1 by default (for 1 iteration). Below shows the same example with the
0 commit comments