skyStep()
Scientific results for this function.
For native sky frames, see V04 · Milky Way surface brightness.
Publication-colour and publication-mono sketches attenuate the Milky Way towards the horizon using k by default. Set band.extinction = FALSE to display its intrinsic structure in those styles. Natural skies apply atmospheric transmission to the band. New sketches store this choice for subsequent steps.
Add the signed increment in minutes divided by 1440 to the saved Julian date. A native sketch is recalculated locally using the saved display selection, style, extinction and magnitude limit, and the current session atmosphere. A Stellarium capture is repeated using its saved external capture settings. The function plots the new view and invisibly returns its sky object. Assign that return value to continue the sequence from the new instant. The remote connection is needed only for the capture branch.
Interpretation and limits. Preserve the sky object or captured image and the settings of the system that produced it. Stepping through several instants is informative near a terrain crossing; a screen capture alone carries no per-pixel naked-eye detection threshold.
Implementation arguments, return value and documented modes
| Argument | Formal default | Behaviour in this interface |
|---|---|---|
hor |
— | Site horizon with latitude, longitude and elevation in metres. |
sky |
— | A background returned by sketchSky(), stellariumSky() or skyStep(). |
minutes |
1 |
Signed elapsed minutes from the captured instant. Fractions are allowed. |
... |
— | Arguments passed to plot(hor, sky=...), such as xrange. |
Return value
stellariumSky() returns a skyscapeR.sky object with the native raster, PNG path, Julian day, observer location and capture settings. skyStep() invisibly returns the updated sky of the same kind.
Reproducibility and stepping
A Stellarium capture reflects the installed Stellarium version, its catalogues,
selected sky culture and current settings for switches not explicitly supplied.
It is an external rendered image, not the package's twilight or extinction
model. Record those settings when comparing it with sketchSky.
The external application and a working local Remote Control connection are
required for every new capture, but not for replotting a saved raster.
Atmospheric settings when using skyStep
For a sketch, skyStep retains calendar, max.mag, k, style
and display selections. Refraction, pressure and temperature are read again
from skyscapeR.vars; the previous object's atmosphere is not
restored automatically. Changing these session settings between the original
sketch and a step changes the atmosphere as well as the time. Keep them fixed
for a time-only comparison, including when resuming a saved sketch in another
R session. This behaviour is intentional. Stellarium captures instead use
the external application's atmospheric settings.
Each call draws immediately and returns the new object invisibly. Save it with
sky <- skyStep(hor, sky, minutes = 10) before taking the next step.
Implementation. R/skybox.R. Full function help · Stellar visibility · Sky reconstruction · Sky brightness and visualisation outline · Terrain crossings and event searches · Display styles, capture and stepping time · Watch the cluster rise later in the season · Compare constellation patterns · Capture a sky from Stellarium