Skip to content

Commit 607938c

Browse files
committed
documentation edits
1 parent c5c1f3a commit 607938c

File tree

4 files changed

+76
-16
lines changed

4 files changed

+76
-16
lines changed

docs/cli.rst

+3-4
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ used very sparingly.
5959

6060
.. note::
6161

62-
<b>Fun fact:</b> Our features were developed using principles from Unix-like operating
63-
systems, where a single hyphen can be followed by multiple single-character flags (i.e.
62+
Our features were developed using principles from Unix-like operating systems,
63+
where a single hyphen can be followed by multiple single-character flags (i.e.
6464
mostly boolean flags that do not require additional output).
6565

6666

@@ -199,8 +199,7 @@ to estimate numax if it is not known:
199199
All parameters are optimized for most star types but some may need adjusting.
200200
An example is the smoothing width (``--sw``), which is 20 muHz by default, but
201201
may need to be adjusted based on the nyquist frequency and frequency resolution
202-
of the power spectrum.
203-
202+
of the input power spectrum.
204203

205204

206205
Granulation background
917 KB
Loading
531 KB
Loading

docs/quickstart.rst

+73-12
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,13 @@ You may test your installation by using ``pysyd --help`` to see available comman
3737
-h, --help show this help message and exit
3838
-version, --version Print version number and exit.
3939
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
4543
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)
4647
4748
4849
Setting Up
@@ -76,18 +77,78 @@ Example Fit
7677
If you ran the setup feature, there are data for three example stars provided: 1435467 (the least evolved),
7778
2309595 (~SG), and 11618103 (RGB). To run a single star, execute the main script with the following command:
7879

80+
7981
.. code-block:: bash
8082
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+
83133
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.
87138

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:
89148

90-
get it.
149+
.. image:: figures/quickstart/1435467_global.png
150+
:width: 680
151+
:alt: Global fit for KIC 1435467
91152

92153
To estimate uncertainties in the derived parameters, set ``-mc`` to a number sufficient for bootstrap sampling. In the previous
93154
example, ``-mc`` was not specified and is 1 by default (for 1 iteration). Below shows the same example with the

0 commit comments

Comments
 (0)