CALLISTO(1)
π CALLISTO(1) β the Unix glow-up of the e-Callisto software π
okay bestie, sit down, grab a strawberry π, because we're about to read the callisto manual page and it's actually iconic. This is the General Commands Manual entry for callisto, and yes it lives in section 1, and yes we're gonna go through every single line together. no skimming. periodt. π
β¨ NAME β¨
callisto β the Unix version of the e-Callisto software. that's it, that's the name, she's simple and she knows it π
β¨ SYNOPSIS β¨
callisto [ options ]
like, that's the whole vibe. you run her with options and she does her thing πΈ
β¨ DESCRIPTION β¨
So the Unix version of the e-Callisto software is a daemon program that can record uncalibrated data and spectral overviews from the Callisto hardware. π°οΈ
heads up bestie: the data comes out uncalibrated. if you want calibration, you gotta do it afterwards by other means. no cap.
The recorded data gets saved as FITS files into the configured directory. Version 1.1.0 of the software supports Callisto firmware versions 1.5, 1.7 and 1.8. Previous versions supported only firmware version 1.5. glow-up era fr fr β¨
The program operation can be controlled by a schedule file, and also directly via a command server listening on a TCP port. two ways to run the show, main character energy π
β¨ OPTIONS β¨
-c,--config FILEβ use the specified configuration file instead of/etc/callisto/callisto.cfg. The location of the configuration file also specifies the configuration directory, which is where other configuration files (the frequency file and the schedule) are assumed to live if you don't give them with an absolute file name. so the path you pick here is doing double duty, she's multi-talented π-o,--datadir DIRβ specify the directory where the recorded data is stored as FITS files. This overrides the value set in the configuration file. πΎ-O,--ovsdir DIRβ specify the directory where spectral overview result files are written. This overrides the value set in the configuration file. π-s,--schedule FILEβ use the given schedule file instead ofscheduler.cfgin the configuration directory. ποΈ-u,--user USERβ run as the given user. π€-L,--load-channelsβ upload the channel frequency data into the EEPROM. This is not normally done, to conserve EEPROM write cycles, and also to speed up program start. The data only needs to be uploaded if the channel frequencies have changed. so like, don't just do it for fun, bestie π-C,--check-onlyβ try to reset and identify Callisto hardware, and exit with status0if Callisto is detected, and with status1otherwise. The check is done after channel upload, so-Land-Ccan be used together for channel upload. cute lil combo meal π-P,--pidfile FILEβ write program PID in the specified file. π-d,--debugβ do not fork into background, and turn on verbose debug messages. Logging is output tostderr. she stays right there in your terminal, no ghosting π-D,--serial-debugβ print serial port traffic intostderr. Give this option twice to enable colors: red color for data going to Callisto and blue for data coming from Callisto. This option implies--debug. double it for the aesthetic π β¨-V,--versionβ print program version. π-h,--helpβ print program help text showing available options. π«Ά
β¨ CONFIGURATION FILE β¨
The Unix callisto uses the same configuration file format as the Windows software: entries are in the format [variable]=value and comments start with // or /*. The variables are compatible with the Windows software β except of course those that refer to file paths. πͺβ‘οΈπ§
The following variables must be defined:
rxcomportβ full path of the serial port device where the Callisto hardware is connected to this computer, e.g./dev/ttyS0. πinstrumentβ short instrument code, appears as the first component of the FITS file names. π·οΈoriginβ location of the instrument (e.g. the institute/observatory). πfrqfileβ the channel frequency file to use. The file name is either an absolute path, or relative to the configuration directory. π»datapathβ the directory where FITS files of the recorded data are stored. ποΈlongitudeβ longitude of the instrument location in degrees, in the form ofE,12.3orW,45.6. πlatitudeβ longitude of the instrument location in degrees, in the form ofN,12.3orS,45.6. (yes, the original says "Longitude" here too β we keep it exactly as written, no editing the queen's words π)heightβ height above sea level of the instrument location, in meters. β°οΈfiletimeβ the time in seconds to record into one FITS file. β±οΈfocuscodeβ the focuscode to use. π―
The following variables may be defined:
ovspathβ the directory where spectral overview files are stored. Default is the value ofdatapath. πchargepumpβ whether PLL charge pump should be on or off. Default is1(on). β‘agclevelβ PWM level for tuner AGC. Default is120. ποΈclocksourceβ which source to use as the sampling clock.1for internal clock,2for external 1 MHz clock. Default is1(internal clock). π°οΈmmodeβ select the measurement mode. As only mode 3 is supported, setting this to any other value will cause an error on callisto startup. Defaults to3. > don't try to be different bestie, mode 3 or bust πautostartβ if set to1, recording is automatically started on program startup. If set to0, recording is not automatically started. If not defined or set to a negative value, the autostart value is deduced from the schedule, or set to1if there is no schedule. Default is-1(deduce from schedule). π¦
The following variables are specific to the Unix version:
net_portβ start the command server on this TCP port. If not defined, the command server is not started. πβ¨
Variables not listed above are ignored. (she literally does not care π)
β¨ FREQUENCY FILE β¨
The frequency file has the same syntax as the configuration file. The following variables must be defined:
targetβ this must have the valueCALLISTO. π―number_of_measurements_per_sweepβ the number of channels to use, from1to512. π’number_of_sweeps_per_secondβ how many channel sweeps to perform per second. The sample rate derived from multiplying the number of channels by this value should not exceed 1000. β οΈ math check bestie
The following variable may be defined:
external_loβ frequency of the frontend downconverter local oscillator in MHz. Defaults to0. π‘
Additionally there must be an entry in the form [NNNN]=FFF.FFF,L for each channel used, where NNNN is the channel number, from 1 onwards, FFF.FFF is the channel frequency in MHz, and L is the number of lightcurve samples (ignored by the Unix version). π¦
β¨ OUTPUT AND LOGGING β¨
The FITS files have a file name in the format CCC_YYYYMMDD_hhmmss_FF.fit, where CCC is the instrument code specified by the configuration variable instrument, YYYYMMDD and hhmmss are the (UTC) starting date and time of the data in the file, and FF is the focuscode used. ποΈβ¨
Spectral overview file names have the format OVS_CCC_YYYYMMDD_hhmmss.prn. π
Logging is done to the daemon facility of syslog, which typically ends up in /var/log/daemon.log. π
β¨ COMMAND SERVER β¨
The command server listens at the TCP port specified by the configuration file variable net_port. When a connection is established, the server prints a banner line "e-Callisto for Unix V.V.V", where V.V.V is the program version. After that it will accept commands. π
Responses to commands consist of a status line beginning either with OK or ERROR, followed by zero or more data lines, and terminated by an empty line. so clean, so structured, we love a tidy protocol π
The following commands are available:
startβ start data recording. If a spectral overview is in progress, recording is started after it finishes. If recording is already in progress, a new FITS file is started at the end of the current channel sweep. This command never fails. π₯stopβ stop data recording. If a spectral overview is in progress, recording is not (re)started after it finishes. This command never fails. πoverviewβ start a spectral overview. If an overview is already in progress, this command is ignored. After the overview has finished, the recording state is restored to its previous value (unlessstartorstopcommands were issued during the overview). This command never fails. πgetβ get the data from the latest complete channel sweep. The first data line printed is in the formatt=NNNNNNNNNN.NNNNNN, giving the start time of the sweep in Unix epoch time. The rest of the data lines have the formatchNNN=FFF.FFF:XXX, whereNNNis the channel number, from001to512,FFF.FFFis the channel frequency in MHz, andXXXis the channel value (in A/D converter units). This command may fail if there is no data in the buffer. π«quitβ close connection to the command server. This command never fails. π
β¨ SCHEDULING β¨
Scheduled operation of the program is supported via a schedule file. The default schedule file is scheduler.cfg in the configuration directory. The schedule file contains entries in the format hh:mm:ss,FF,A, which specifies the UTC time hh:mm:ss of the schedule entry, the focuscode FF for which it is valid for, and the action A to take. Supported actions are start (3), stop (0) and overview (8). ποΈβ¨
The Unix version of callisto does not support changing the focuscode or the frequency file (which would be the optional fourth field of the schedule entry) on the fly. nope, not happening, don't ask π
If there is no schedule file, the program remains in manual control, possibly starting recording automatically on startup. The schedule file is checked for existence or changes every minute. If the schedule file appears or has changed, it is (re)loaded and the new schedule becomes active. If the program is in scheduled operation, and the schedule file disappears, is empty, or cannot be read, the program reverts to manual control and recording is started. π plot twist
The helper script callisto-sunschedule(1) can be used to create schedule files that record data only between sunrise and sunset. π
β¨ SIGNALS β¨
Sending the HUP signal to the callisto program has the same effect as issuing the start command via the command server. πΆ
When the program receives the TERM signal, it tries to exit cleanly by stopping the Callisto hardware and writing any pending data buffers to disk. If a second termination signal is sent before the clean exit has finished, the program exits immediately, possibly causing the latest data to be lost. π
fr fr bestie: one TERM is a polite goodbye, two TERMs is a rage quit and you might lose your data. be gentle. π₯Ί
β¨ FILES β¨
/etc/callistoβ default configuration directory. π/etc/callisto/callisto.cfgβ default configuration file. βοΈ/etc/callisto/scheduler.cfgβ default schedule file. ποΈ
β¨ AUTHOR β¨
Juha Aatrokoski <jha@kurp.hut.fi> π«Ά
β¨ SEE ALSO β¨
callisto-sunschedule(1)πhttp://www.e-callisto.org/πhttp://www.e-callisto.org/Software/Callisto-Software.htmlπ»
and that's the whole page, bestie, you ate it π
β¨ this was callisto, from the General Commands Manual, dated February 2017, and yeah the footer literally just says callisto and February 2017 and CALLISTO(1) again β she's consistent, she's iconic, she's done. πππ¦
π¦ where this page comes from
- debian bookworm: callisto 1.1.0-2+b2 Β· GPL-3.0-or-later
- debian trixie: callisto 1.1.0-3 Β· GPL-3.0-or-later
- ubuntu jammy: callisto 1.1.0-2build1 Β· GPL-3.0-or-later
- ubuntu noble: callisto 1.1.0-2build4 Β· GPL-3.0-or-later
- ubuntu questing: callisto 1.1.0-3
- ubuntu resolute: callisto 1.1.0-3build1 Β· GPL-3.0-or-later
- ubuntu stonking: callisto 1.1.0-3build1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms