pySYD option glossary
Below is a complete list of pySYD parameters in alphabetical order.
-a, --ask--all, --showallcreates an additional figure that shows all the iterated background models, which will highlight the selected model
-b, --bg, --backgroundcontrols the background-fitting procedure – BUT this should never be touched since a majority of the work done in the software happens here and it should not need to be turned off
--basiswhich basis to use for the background fitting (i.e.
'a_b','pgran_tau','tau_sigma'), NOT OPERATIONAL YETdest =
args.basistype =
strdefault =
'tau_sigma'
--bf, --box, --boxfilterbox filter width for plotting the power spectrum TODO: make sure this does not affect any actual measurements and this is just an aesthetic
dest =
args.box_filtertype =
floatdefault =
1.0unit = \(\mu \mathrm{Hz}\)
--bin, --binninginterval for the binning of spectrum in \(\mathrm{log(}\mu\mathrm{Hz)}\) this bins equally in logspace
dest =
args.binningtype =
floatdefault =
0.005unit = log(\(\mu \mathrm{Hz}\))
--bm, --mode, --bmodewhich mode to choose when binning. Choices are ~[
"mean","median","gaussian"]dest =
args.modetype =
strdefault =
"mean"
--ce, --cm, --colorchange the colormap used in the echelle diagram, which is
'binary'by defaultdest =
args.cmaptype =
strdefault =
'binary'
--cv, --valuethe clip value to use for the output echelle diagram if and only if
args.clip_echisTrue. If none is provided, it will use a value that is 3x the median value of the folded power spectrumdest =
args.clip_valuetype =
floatdefault =
3.0unit = fractional psd
--cli-d, --show, --displayshow output figures, which is not recommended if running many stars
--dnuoption to provide the spacing to fold the power spectrum and “whiten” effects due to mixed modes (
pysyd.target.Target.whiten_mixed), which also requires a lower and upper folded frequency (i.e. <= dnu) via –le and –ue-e, --est, --estimateturn off the first module that searches and idenities power excess due to solar-like oscillations, which will automatically happen if numax is provided
--ew, --exwidththe fractional value of the width to use surrounding the power excess, which is computed using a solar scaling relation (and then centered on the estimated \(\nu_{\mathrm{max}}\))
-f, --fft--file, --list, --todothe path to the text file that contains the list of stars to process, which is convenient for running many stars
-g, --globe, --globaldo not estimate the global asteroseismic parameter numax and dnu. This is helpful for the application to cool dwarfs, where detecting solar-like oscillations is quite difficult but you’d still like to characterize the granulation components.
--gap, --gaps- what constitutes a time series gap (i.e. how many cadences)
dest =
args.gaptype =
intdefault =
20see also: -x, –stitch, –stitching
-i, --ie, --interpechturn on the bilinear interpolation of the plotted echelle diagram
dest =
args.interp_echtype =
booldefault =
Falseaction =
store_truesee also: –se, –smoothech
--in, --input, --inpdir- path to the input data
dest =
args.inpdirtype =
strdefault =
INPDIR
--infdir--info, --informationpath to the csv containing all the stellar information (although not required)
dest =
args.infotype =
strdefault =
star_info.csv
--iw, --indwidthwidth of binning for the power spectrum used in the first module TODO: CHECK THIS
dest =
args.ind_widthtype =
floatdefault =
20.0unit = \(\mu \mathrm{Hz}\)
-k, --kc, --kepcorrturn on the Kepler short-cadence artefact correction module. if you don’t know what a Kepler short-cadence artefact is, chances are you shouldn’t mess around with this option yet
dest =
args.kepcorrtype =
booldefault =
Falseaction =
store_true
--laws, --nlawsforce the number of red-noise component(s). fun fact: the older IDL version of
SYDfixed this number to2for the Kepler legacy sample – now we have made it customizable all the way down to an individual star!--lb, --lowerbthe lower frequency limit of the power spectrum to use in the background-fitting routine. Please note: unless \(\nu_{\mathrm{max}}\) is known, it is highly recommended that you do not fix this beforehand
--le, --lowerethe lower frequency limit of the folded power spectrum to “whiten” mixed modes before estimating the final value for dnu
--lp, --lowerpto change the lower frequency limit of the zoomed in power spectrum (i.e. the region with the supposed power excess due to oscillations). Similar to –ew but instead of a fractional value w.r.t. the scaled solar value, you can provide hard boundaries in this case TODO check if it requires and upper bound – pretty sure it doesn’t but should check
--lx, --lowerxthe lower limit of the power spectrum to use in the first module (to estimate numax)
-m, --samplesoption to save the samples from the Monte-Carlo sampling (i.e. parameter posteriors) in case you’d like to reproduce your own plots, etc.
--mc, --iter, --mciternumber of Monte-Carlo-like iterations. This is
1by default, since you should always check the data and output figures before running the sampling algorithm. But for purposes of generating uncertainties,n=200is typically sufficient.dest =
args.mc_itertype =
intdefault =
1
--metricwhich model metric to use for the best-fit background model, current choices are ~[
'bic','aic'] but still being developed and testeddest =
args.metrictype =
strdefault =
'bic'
-n, --notchuse notching technique to reduce effects from mixes modes (pretty sure this is not full functional yet, creates weird effects for higher SNR cases)
--notebooksimilar to –cli, this should not need to be touched and is primarily for internal workings and how to retrieve parameters
--nox, --nacrossspecifies the number of bins (i.e. the resolution) to use for the x-axis of the echelle diagram – fixing this number if complicated because it depends on both the resolution of the power spectrum as well as the characteristic frequency separation. This is another example where, if you don’t know what this means, you probably should not change it.
--noy, --ndown, --nordersspecifies the number of bins (or radial orders) to use on the y-axis of the echelle diagram NEW: option to shift the entire figure by n orders - the first part of the string is the number of orders to plot and the +/- n is the number orders to shift the ED by
--npboption for echelle diagram to use information from the spacing and frequency resolution to calculate a better grid resolution (npb == number per bin)
--nt, --nthread, --nthreadsthe number of processes to run in parallel. If nothing is provided when you run in
pysyd.parallelmode, the software will use themultiprocessingpackage to determine the number of CPUs on the operating system and then adjust accordingly. In short: this probably does not need to be changeddest =
args.n_threadstype =
intdefault =
0
--numaxbrute force method to bypass the first module and provide an initial starting value for \(\rm \nu_{max}\)
Asserts len(args.numax) == len(args.targets)* dest =args.numax* type =float* nargs ='*'* default =None* unit = \(\mu \mathrm{Hz}\)-o, --overwritenewer option to overwrite existing files with the same name/path since it will now add extensions with numbers to avoid overwriting these files
--of, --over, --oversamplethe oversampling factor of the provided power spectrum. Default is
0, which means it is calculated from the time series data. Note: this needs to be provided if there is no time series data!--out, --output, --outdirpath to save results to
dest =
args.outdirtype =
strdefault =
'OUTDIR'
--peak, --peaks, --npeaksthe number of peaks to identify in the autocorrelation function
dest =
args.n_peakstype =
intdefault =
5
--rms, --nrmsthe number of points used to estimate the amplitudes of individual background (red-noise) components Note: this should only rarely need to be touched
dest =
args.n_rmstype =
intdefault =
20
-s, --saveturn off the automatic saving of output figures and files
--se, --smoothechoption to smooth the echelle diagram output using a box filter of this width
--sm, --smparthe value of the smoothing parameter to estimate the smoothed numax (that is really confusing) note: typical values range from
1-4but this is fixed based on years of trial & error--sp, --smoothpsthe box filter width used for smoothing of the power spectrum. The default is
2.5but will switch to0.5for more evolved stars (if \(\rm \nu_{max}\) < 500 \(\mu \mathrm{Hz}\))dest =
args.smooth_pstype =
floatdefault =
2.5unit = \(\mu \mathrm{Hz}\)
--star, --starslist of stars to process. Default is
None, which will read in the star list fromargs.fileinstead--step, --stepsthe step width for the collapsed autocorrelation function w.r.t. the fraction of the boxsize. Please note: this should not be adjusted
dest =
args.steptype =
floatdefault =
0.25unit = fractional \(\mu \mathrm{Hz}\)
--sw, --smoothwidththe width of the box filter that is used to smooth the power spectrum
Warning
All parameters are optimized for most star types but some may need adjusting.
An example is the smoothing width (--sw), which is 20 muHz by default, but
may need to be adjusted based on the nyquist frequency and frequency resolution
of the input power spectrum.
--thresh, --thresholdthe fractional value of the autocorrelation function’s full width at half maximum (which is important in this scenario because it is used to determine \(\Delta\nu\))
dest =
args.thresholdtype =
floatdefault =
1.0unit = fractional \(\mu \mathrm{Hz}\)
--trials, --ntrialsthe number of trials used to estimate numax in the first module – can be bypassed if –numax is provided.
dest =
args.n_trialstype =
intdefault =
3
--ub, --upperbthe upper limit of the power spectrum used in the background-fitting module Please note: unless \(\nu_{\mathrm{max}}\) is known, it is highly recommended that you do not fix this beforehand
--ue, --upperethe upper frequency limit of the folded power spectrum used to “whiten” mixed modes before determining the correct \(\Delta\nu\)
--up, --upperpthe upper frequency limit used for the zoomed in power spectrum. In other words, this is an option to use a different upper bound than the one determined automatically
--ux, --upperxthe upper frequency limit of the power spectrum to use in the first module
-v, --verboseturn on the verbose output (also not recommended when running many stars, and definitely not when in parallel mode) Check this but I think it will be disabled automatically if the parallel mode is
True-w, --wn, --fixwn-x, --stitch, --stitching-y, --heyplugin for Daniel Hey’s interactive echelle package but is not currently implemented TODO