BESO Guider — Observer Reference¶
Appendix to the BESO Camera Interface document (Kimeswenger, v2.30).
This page covers operating the autonomous guider that holds the target
on the BESO fibre — a service running on services01.oca.lan, fed by
the dedicated guider camera on jk15-ccd. It does not cover the
spectrograph itself.
1. Overview¶
The guider is a server-side service. It reads frames from the guider
CCD, locates the guide signal in each frame, computes the offset from
the target position, and issues short PulseGuide corrections to the
ASA mount.
Its scope is deliberately narrow:
- it holds a star at a position selected by the operator (the anchor);
- on the explicit command
drop → reticleit moves that star onto the fibre; - it continues holding it there.
It takes no decisions on its own. In particular, in the single
method switching to guiding does not move the star to the
fibre — it holds the star where it currently is. Placing it on
the fibre is the separate drop → reticle step (§5). A guider left
in guiding without drop → reticle will correctly hold the star at
its original position, delivering no light to the spectrograph.
(The fiber method is the one exception: there the hold target is
the fibre entrance itself — see §5.)
The guider has no knowledge of the science target — it operates purely on guider-camera pixels.
Field of view and magnitude reach (measured 2026-08-02)
- The usable field is only ~1′ in radius around the centre — the outer field suffers strong vignetting and distorted stellar images from reflections near the wall. Plan guide-star choices (and the neighbour-star trick from §5) within that inner circle.
- Magnitude reach, for orientation: a G ≈ 14.4 star is detectable at 2 s exposure, gain 100; the longest exposure preset is 10 s. In sparse fields (high galactic latitude) the program star may be the only usable source.
- The displayed image is flipped and rotated ~90° with respect to the sky — when matching against a sky atlas, mind the orientation (an in-UI compass is on the roadmap).
2. Architecture: the service and its clients¶
Understanding this section prevents the most serious operating errors.
The service runs permanently on services01.oca.lan. It is the
only component that talks to the camera and the mount. Its operating
mode — off / monitoring / guiding — is a property of the
service, held on the server.
The web UI is a thin client. It displays the service state and sends commands; nothing runs in the browser. Consequently:
- Closing the browser page has no effect on the service. A guider
left in
guidingkeeps guiding after every browser in the observatory is closed. - Whether a client is connected or disconnected does not affect the service in any way.
- Any number of clients may be open; a new one can be connected at any time from any browser at OCM (and remotely, with tunnelling).
The connection indicator (dot in the top bar: green = connected, grey = disconnected) is therefore the first thing to check before reading or clicking anything:
A disconnected client shows a stale snapshot
When the connection is lost, the UI keeps displaying the last
state it received — including the mode indicator. A client that
shows off while disconnected proves nothing about the service:
the service may well be guiding. Commands clicked in a
disconnected client are not delivered and are currently
discarded silently (an unmissable disconnected indication is on
the roadmap). Always confirm the dot is green before trusting the
display or issuing commands; after a mode command, confirm the
mode indicator actually changes.
If a client will not load or will not connect while the service is
known to be running, suspect the local computer first (browser cache,
the machine itself) and try a different browser or computer. The NATS
address in the Connection panel must read exactly
ws://192.168.7.38:9222.
3. URLs¶
| Resource | URL |
|---|---|
| Guider web UI | http://services01.oca.lan:8090/ |
| (IP fallback) | http://192.168.7.45:8090/ |
The link is also available from the OCM landing page:
http://home.oca.lan/ → "BESO Guider".
4. Start-of-night checklist¶
- Tertiary at position ADR06 (BESO path), cover open, dome open, target slewed and tracking.
- Open the guider UI and confirm in the top bar:
- green connection dot;
- the
jk15 / guider_besorow exists, statusOK.
- The mode is whatever it was left at (it is service state, §2) —
typically
off. Set it tomonitoringand confirm live thumbnails start arriving (≈ 2 Hz). Inmonitoringframes flow, the solver runs, drift is plotted, no pulses are sent.
When you are not using the guider, leave it in off
In off the service does not touch the camera at all — no
exposures, no load on the shared Alpaca stack. monitoring and
guiding both keep the camera busy. End of session or a longer
pause: switch to off.
5. Standard workflow¶
Method single (default), starting in monitoring:¶
- Left-click the target star in the frame view — the click must land inside the wide-search circle (the large circle around the reticle); clicks outside it do not select. The circle's radius is adjustable (wide search r slider) — enlarge it to reach a star further out, shrink it to exclude neighbouring stars from automatic re-acquisition. The solver refines the click to the star's centroid — this becomes the anchor, the position the loop will hold. Selecting a star does not move the mount.
- Switch mode to
guiding(G). The loop now holds the star at the anchor — at its current position, not at the fibre. - Press
drop → reticle. The loop moves the held star onto the reticle (the fibre entrance) and keeps holding it there. The button requiressingle+guiding+acquired = yes.
This sequence covers a standard observing night.
Convergence check
Steady-state drift RMS should settle to ≤ 1–2 px per axis
within ~30 s. If it grows instead, switch back to monitoring
and contact the maintainer — do not compensate with manual pulses.
A click on a star does not select it — why?
The star is outside the wide-search circle (drawn around the
reticle; radius set by the wide search r slider) — the UI
rejects the click, flashes the circle red and shows a short
notice. Selection works only inside the circle. Either enlarge the circle with the slider,
or bring the star into it with manual pulses / a telescope move
(in monitoring) — selection then engages. The limit exists so
that re-acquisition after a cloud passage can never silently jump
to a distant star; conversely, in a crowded field you can shrink
the circle so a neighbouring star can never be picked up by
mistake.
Program star in the fibre = weak guide signal? Guide on a neighbour
Once the program star is injected into the fibre, most of its light disappears into the hole and the residual halo can be a poor guide signal. If a suitable field star is visible in the frame, guide on that one instead:
- Put the program star on the fibre first (steps 1–3 above).
- Left-click the neighbouring star (enlarge the wide-search circle first if it sits outside). Re-selection re-anchors the loop to the new star at its current position — nothing moves, the program star stays in the fibre.
- The loop now guides on the bright neighbour; the program star is held on the fibre indirectly (rigid field geometry).
Do not press drop → reticle after re-selecting — that would
drag the neighbour into the fibre.
Frame overlay legend
| Marker | Meaning |
|---|---|
| Cross-hair reticle | The fibre entrance (central_point). Fixed; the destination. |
| Green circle + ADU label | The current lock — what the solver is holding this frame. |
| Amber broken cross (labelled "anchor") | The anchor — where the loop keeps the locked star. Shown only in guiding, and only while the anchor differs from the reticle. |
| Green line | Drawn only in guiding, from the star to its actual target (anchor or reticle) — when merely holding position it collapses to nothing. |
| Large circle around reticle | Wide-search limit — clicks and re-acquisition work only inside. |
| Small squares (key D) | All candidates the detector found this frame. |
| Amber dashed ring ◌ (in the magnifier) | The measured reticle target — the fibre entrance as measured in the image (§5). The gap to the reticle is what refine reticle removes. |
If the green circle is not on the intended star, the loop is not guiding on that star — re-select before proceeding.
Reticle style is selectable in the top bar (style picker). The styles differ in how much they cover the pixels at the very centre: Classic and Tank draw through it, while SciFi and Fighter leave a wide open centre (Finder/Sniper a small gap). For fine fibre-injection work pick an open-centre style — watching the star disappear into the hole is the whole point.
Method fiber¶
Validated on sky 2026-08-01/03 (guiding converged from ~6 px to the fibre centre and held) — cleared for regular use.
The fiber method works on a different principle than single,
and the controls change meaning accordingly:
- There is no star detection and no star selection. The solver integrates all light in a small analysis window around the reticle and computes its photocentroid. Left-click selection, candidate squares and Tab cycling do nothing here.
- The hold target is the fibre entrance itself (the reticle).
Switching to
guidingimmediately pulls the light toward the fibre — there is no anchor and nodrop → reticlestep (the button stays disabled by design). - "Acquired" means "there is usable light in the window", not "a star is locked". The green circle marks the photocentroid of the residual light (the halo around the hole), which legitimately sits near the hole rim — do not expect it to sit on a stellar core.
- Light that falls into the hole disappears from the detector — a well-injected star shows only a faint ring. A narrow dead zone leaves a well-centred star alone; small star–fibre offsets outside it are actively corrected rather than tolerated.
- The reticle magnifier inset (close-up of the injection region)
has its own toggle button in the zoom-control stack and works in
every method; it switches on automatically the first time you enter
fiber(until you use the toggle yourself). The MANUAL PULSE pad stays visible in fiber mode; the fiber tuning knobs sit in a collapsed "fiber config" section below it.
Intended use: first park the star on the fibre with single +
drop → reticle, then switch to fiber to track the integrated
light. Fine-tuning of the fibre-tracking behaviour is still ongoing —
if convergence looks odd on your night, note the conditions (seeing!)
and report.
Close-up view during manual work
The reticle magnifier works in any method and any mode — toggle it from the zoom controls whenever you need the injection-region close-up (no need to switch methods just for the view).
Measured fibre entrance and refine reticle¶
The reticle marks where the fibre entrance is supposed to be — a
calibrated constant. The guider also measures where the entrance
actually is: whenever light falls on it (a star parked on it, or
the field illuminated), the entrance shows up as a dark disk inside
a bright halo, and a detector measures its position on every frame.
The measurement runs in every mode and with every method — it is
already being prepared while you guide with single, before any
switch to fiber.
refine reticle(TARGET row, next todrop → reticle) moves the reticle onto the measured entrance in one click. It is disabled by default and enables itself only when the measurement is trustworthy — several consistent frames, sufficient signal, offset within a safety band. When enabled, the label shows the offset it would apply (e.g.refine reticle 3.4 px). The tooltip always explains the current state: "no reticle-target measurement — put a bright source on the reticle", "measuring… (3/5 frames)", "no light at the reticle — illuminate it or park a star on it", "light is one-sided — centre a source on the reticle", "ready: move reticle 3.4 px onto the measured hole".- On click the service re-checks against the freshest measurement and may refuse with a reason if it has gone stale — refusal is normal behaviour, not an error; wait for the button to re-arm and click again.
- In the magnifier, when a measurement exists, an amber dashed
ring of the fibre-hole radius marks the measured entrance (legend:
"◌ measured reticle target"). The gap between the amber ring and
the reticle is exactly what
refine reticleremoves. The reticle-radius marker itself is drawn as an outline, so the pixels being judged stay visible. - H (reticle home) is not affected by refining — it still returns to the configured calibration, so home remains the safe way back, and drift accumulated over refinements stays visible.
When throughput seems poor, or after large temperature changes
The fibre entrance moves on the sensor with temperature, so the
calibrated reticle position goes stale. Park a bright star on
the reticle (or press drop → reticle while guiding), open the
magnifier, wait for refine reticle to arm, and click.
Iterating once or twice converges. If the automatic measurement
keeps refusing, the right-click adjustment (§6) remains the
manual fallback.
Method multi¶
Not implemented yet.
6. Keyboard & mouse¶
Keys act when the UI window has focus and no text input is active.
| Key | Action |
|---|---|
| G / M / O | mode → guiding / monitoring / off |
| R | re-acquire — force wide-search around target |
| Tab / Shift+Tab | (single) cycle lock through detected candidates |
| Up Down Left Right | manual pulse, image-axis pixels (current step) |
| 1 / 2 / 3 / 4 | arrow step → 1 / 5 / 10 / 30 px (the MANUAL PULSE pad highlights the active one) |
| + / - / 0 | frame zoom |
| D | toggle detection-candidates overlay |
| H | reticle home — restore the calibrated fibre position (see Mouse notes below) |
| ? | full shortcut panel |
Manual pulses are pixel-denominated
Arrows and the MANUAL PULSE pad move the star by a chosen number of image pixels (the service translates through the calibrated mount model); keys 1–4 pick the step. The 1 px step is the tool for fine fibre-injection work (hole radius = 5 px). Note: a single 1 px request may be skipped or rounded by the mount-side minimum-pulse policy — repeated presses average out correctly. The pad's ms-mode (raw pulse durations) remains available for calibration-style work.
Mouse:
- Left-click (single) — lock onto a star near the click. The
mount is not moved until
guidingis engaged. - Right-click — move the target reticle to the clicked position.
This is the manual in-night adjustment for when the fibre image
has shifted on the sensor (dome temperature changes can move it,
even within a night): place the reticle on the actual fibre
position, then work normally. When the entrance is visible in the
image, prefer
refine reticle(§5) — it measures the position instead of relying on the eye; right-click remains the fallback when the automatic measurement refuses. Inguidingthe current lock is kept — the new reticle position takes effect as target on the nextdrop → reticle. If the shift is persistent, report the new coordinates so the calibrated home gets updated (see the recalibration note in §10). - Wheel — zoom around cursor.
H (home) returns the reticle to the calibrated position
H restores the reticle to the calibrated default from the
service configuration — useful after an accidental right-click.
Refinements are treated the same way: refine reticle (§5) never
changes this home position, so H always leads back to the
calibration. Mind the flip side: if the fibre genuinely moved and
you adjusted the reticle deliberately (by right-click or refine),
H throws that adjustment away. And
if the calibration itself is stale (fibre moved, maintainer not
yet informed), home restores a wrong position — report shifts
promptly.
7. Guider camera exclusivity¶
One camera, one controlling software
The guider service holds an exclusive ASCOM/Alpaca session on
jk15.guider_beso (a small CMOS served from the jk15-ccd
Windows host — not the BESO science camera). Pointing any
other camera software at the same camera while the guider is
not in off — ASI Studio, MaxIm, SharpCap, ASCOM diagnostic
tools, a second guider instance, anything that takes exposures —
will collide with it: frames stutter, freeze or corrupt; the
driver can wedge (Object reference not set…, or silently
serving one frozen frame) until its camera server is restarted —
a maintainer action; the guider log fills with
OCABOX error 2002.
This has nothing to do with the guider web UI: browser pages are thin clients of the service (§2), they never touch the camera directly — open as many as you like.
During science observations the only software operating the
guider camera is the guider service. For a hand-driven session in
ASI Studio or similar, set the guider to off first (§8), do the
work, then bring it back.
Do not confuse the two BESO cameras
The ssh commands server_restart@jk15-beso,
camera_restart@jk15-beso etc. (BESO Camera Interface document,
§5) control the spectrograph science camera. They are not a
remedy for guider-camera problems and must not be run for guiding
issues. The guider camera is served from jk15-ccd; its recovery
is a maintainer action.
8. Stopping the guider at end of night¶
The service runs on the server — closing the browser does not stop it (§2).
- Set mode to
monitoring(pulses stop immediately). - Then
off— camera capture stops, the service idles. - Verify: the mode indicator reads
offand no new thumbnails arrive.
The verification step is mandatory
A command sent from a disconnected client is not delivered (§2).
If the mode indicator does not change to off within a few
seconds: check the connection dot, reload the page or use another
computer's browser, and repeat. If no client can connect while
pulsing must be stopped, use the last-resort procedure below —
and inform the maintainer either way.
Last resort — stopping the whole guider service (avoid if possible)
This stops the entire guider service on services01: camera
acquisition, mount corrections, thumbnail generation and the
web UI itself (the UI page is served by the same service, so
after stopping it the page will no longer load — this is
expected).
ssh poweruser@services01.oca.lan # user: poweruser
sudo systemctl stop oca_guider_jk15.service
To bring the guider back:
sudo systemctl start oca_guider_jk15.service
The service restarts into a safe idle state (no pulses); the UI page becomes available again ~15 s later.
Why this is a last resort and not a routine procedure:
- the normal UI path achieves the same result (
off) without shell access, and works from any computer at OCM; - a service stopped this way stays down until somebody remembers to start it — the next observer finds a dead UI page;
- it requires shell access to a shared production machine, where a mistyped command affects unrelated systems.
Never reboot services01 itself. The machine hosts several
other observatory services beyond the guider; rebooting it to fix
a guider problem takes them all down. If stopping the unit above
does not resolve the situation, contact the maintainer.
Report every use of this procedure: note it in the night report / control-room log and mail the maintainer (address at the bottom of this page) with the time and what led to it. Needing the last resort means something upstream failed — it can only be fixed if it is known about.
9. Mount control during guiding¶
While the service is in guiding, it commands the mount about once
per second. Do not issue manual slews, hand-paddle jogs, or
SyncToCoordinates from other tools — they compete with the guider's
corrections and produce a runaway. To move the telescope, switch the
guider to monitoring first.
The guider only ever issues PulseGuide of ≤ 1500 ms. It never slews,
parks, or syncs.
10. Troubleshooting¶
| Symptom | First thing to check |
|---|---|
| Buttons have no effect / display frozen | Connection dot and NATS address (§2). Reload the page; try another browser or computer. |
Mode shows off but the telescope reacts to the guider |
The client is disconnected and shows a stale snapshot (§2). Reconnect (green dot), read the actual mode, set off, verify. |
| UI page does not load at all | Try another computer first. If it fails everywhere, the service (which also serves the page) may be down — contact the maintainer. |
| A click on a star selects nothing | Star outside the wide-search circle (§5). |
| No thumbnails in UI | Thumbnail HTTP base in the Connection panel. |
drop → reticle greyed out |
Requires single + guiding + acquired = yes. |
refine reticle greyed out, or refuses on click |
The tooltip always states why (no light on the reticle, still measuring, one-sided light, offset outside the safety band). A refusal on click means the measurement went stale between arming and clicking — normal behaviour; wait for the button to re-arm. |
| No detection candidates | exp_time too low / sparse field — or method is fiber (no candidates by design); switch to single. |
In fiber, green circle sits near the hole rim, not on the star |
Normal — it marks the photocentroid of the residual halo (§5), not a stellar core. Low ADU (a few counts) with no star near the fibre means the gate sees noise-level light — check the field. |
| Star locked but drift grows | Switch to monitoring, contact the maintainer (pulse-model calibration). |
Images stop refreshing in monitoring/guiding, status degraded |
Usually a lost USB connection to the guider camera. Observer-executable recovery (USB port restart, then driver reload): Guider camera does not produce images. The guider resumes by itself once the camera is back. |
Camera unavailable / NRE / Camera appears FROZEN in status |
Try the USB recovery procedure above first; if it does not help, the guider-camera server on jk15-ccd needs maintainer attention. Do not run any *@jk15-beso command (§7 — that is the spectrograph science camera). |
Fibre-entrance recalibration after the guider camera was moved (maintainer-coordinated)
The reticle position (central_point) is a calibrated constant:
the pixel where the fibre entrance sits on the guider sensor. Any
mechanical work that moves the guider camera (or the fibre head)
invalidates it — the guider will then faithfully drop stars onto
a spot that is no longer the fibre.
If you suspect (or know) the camera was moved:
- Illuminate the field with the flat-field lamp so the fibre
hole is visible as a dark spot on a bright background
(
monitoring, adjust exp_time until the background is bright but unsaturated). - Open the reticle magnifier and use
refine reticle(§5) — this is the preferred way to determine the new position: with the hole outlined against the bright background the automatic measurement is at its most reliable. Wait for the button to arm and click; iterating once or twice converges. If the measurement refuses (tooltip explains why), fall back to zooming into the hole region and right-clicking the hole centre. Either way the reticle readout in the status bar then shows the measured coordinates (more reliable than reading the cursor position by eye). A screenshot of the zoomed hole with the reticle on it helps. - Send the coordinates + screenshot to the maintainer
(address below) — do not edit the service configuration
yourselves. The maintainer updates
central_point, and the calibrated "home" position of the reticle follows.
The same adjustment doubles as the temporary fix: with the
reticle on the true hole position you can simply continue
observing — drop → reticle and the fiber view now target the
correct spot for the rest of the night. Two things to remember
until the calibrated default is updated: do not press H
(it would restore the stale position), and report the shift
regardless — otherwise the next observer starts with the stale
calibration.
11. Glossary¶
- Service — the server-side guider process on
services01; owns the camera and mount interaction; holds the operating mode. - Client — a browser session of the web UI; displays service state and sends commands; has no state of its own worth preserving.
- Method — the solver strategy:
single(default; holds one star selected by the operator) orfiber(tracks the photocentroid of all light around the reticle; the fibre entrance itself is the target — §5). - Mode — the service's operating state:
off(camera idle),monitoring(frames + solver, no pulses),guiding(active corrections). - Reticle — fixed marker at the fibre entrance (
central_point). - Measured reticle target — the fibre-entrance position measured
in the image (dark disk inside a bright halo); shown in the
magnifier as an amber dashed ring ◌; the destination of
refine reticle(§5). - Anchor — the pixel position the loop holds the star at. Created
on selection; moved onto the reticle by
drop → reticle. - Acquired — the solver confirms a guide signal at the expected
position. Required for
drop → reticle. - Pulse-guide — short mount correction (
N/S/E/W, ≤ 1500 ms). - Re-acquire (R) — force a wide-search around the target after a bump, cloud, or lost lock.
- Wide search — the circle around the reticle within which stars can be selected and re-acquired (wide search r slider; config default 600 px).
Maintainer: mkaluszynski@akond.com. Service code:
ocabox-tcs/src/ocabox_tcs/services/guiding_svc/. Config:
config/guider.jk15.guider_beso.yaml.