Aghermann(1)
π Aghermann(1) β the manual, but make it cute π
okay bestie, sit down, hydrate, because we're about to talk about Aghermann β yes that's the manual name, section 1, and she is that girl. She's a sleep research experiment manager and Achermann et al (1993) model simulator, and honestly? Iconic rΓ©sumΓ©. π§β¨
β¨ SYNOPSIS β¨
aghermann [-l LOG_FILE] [-n] [EXP_ROOT_DIR]
that's it. that's the whole summoning ritual. two lil flags and a directory, no cap. π«Ά
πΈ DESCRIPTION πΈ
So, Aghermann is a GTK+ program and her whole job β her main character era, if you will β is running Process S simulations on Slow-Wave Activity profiles from EEG recordings, exactly as outlined in Achermann et al (1993). In that capacity she produces a set of sleep homeostat parameters, which you can use to describe and differentiate individual sleepers. We're talking short vs long sleepers, early vs late, all of it. Vibe check: passed. π
She also comes with general-purpose facilities for displaying EEG and accompanying recordings, like EOG and EMG, saved in EDF (European Data Format) files β and yes, both plain EDF as well as EDF+C are supported, we don't discriminate. π
Those recordings can then be conveniently scored (obsessed), and scores can be imported/exported in plain ASCII. And if you're feeling extra, scoring can be outsourced to external scripts written in lua. Not me being jealous of a scoring pipeline. π
π COMMAND-LINE OPTIONS π
If you run her with no arguments, your last session will be restored. Periodt. But if you do hand over an EXP_ROOT_DIR, then an experiment located in EXP_ROOT_DIR will be selected instead. Either way you're eating. π
-nβ if you pass this (and an EXP_ROOT_DIR, which is non-optional in this case, bestie, don't forget it), the experiment session in that directory will be initialised and immediately closed, upon which Aghermann will exit. No windows will be open and no GTK+ code run β it's giving minimalism. This option was implemented with the idea of running the core structural part of Aghermann under valgrind. ngl, that's kind of a serve. π₯-l LOG_FILEβ with this, aghermann will write a log of its inner workings to LOG_FILE. And if LOG_FILE is "-", then stdout is used. Just so you know: by default, (almost all) logging is suppressed. She's mysterious like that. π
π¦ NOTE ON EDF FILE METADATA π¦
For Aghermann to be able to manage an EDF file, all relevant fields in its header must be filled out correctly, as follows β no skipping, this part is load-bearing:
patient_idπ β uniquely identifies the subject.recording_idπ β identifies the recording session (out of several other such sessions, each containing the same series of episodes) and the individual episode. These two items must appear in one of the following combinations:"Session/Episode""Session : Episode""Episode (Session)"
recording_dateandrecording_timeβ° β must not overlap with other episodes in the same session, and must not be too far removed from each other β specifically, more than 7 days apart is a no. β
fr fr, get your metadata right the first time. Aghermann does not do chaos. π
πΌ FILES πΌ
~/.config/aghermann/sessionrcβ contains a list of paths to recent experiment trees. Your little memory keeper. π§./.agherman.confand./.expdesign.confβ saved settings of the experiment located in this tree. (yes,agherman.confreally is spelled like that, we don't make the rules, we just report them exactly) π
β SEE ALSO β
The project's git repository is kept on sf.net and also on github.com; more details on the Achermann model as well as on usage and project background can be found at http://johnhommer.com/academic/code/aghermann. go read it, do it for the plot. πβ¨
π AUTHOR π
Aghermann is written by Andrei Zavada <johnhommer@gmail.com>.
Parts of the code have been borrowed from http://exstrom.com (in src/libexstrom); some bare algorithms in libsigfile/mc.* are those found in C# files zipped and posted at code.google.com/p/neuroloopgain. credit where credit is due, always. π
and that's the whole page, bestie π this edition is version 1.1.2, dated 2026-01-13 β so go forth, manage your sleep experiments, and slay. ππ¦π
bye pookie, see you in the group chat π«Άβ¨
π¦ where this page comes from
- ubuntu resolute: aghermann 1.1.2-5build5 Β· GPL-2.0-or-later
- ubuntu stonking: aghermann 1.1.2-5build5 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms