Added support for edf-derived data (to be input as “Sessions”)
Note: at the moment, the Sleep Report and the Sleep Regularity tab
are not functional with this type of data
Annotations
Added pagination options to deal with large numbers of sessions
Added a search bar to help in selecting sessions (e.g. select all
October 2024 sessions by searching “2024-10”)
Sleep Regularity
Let Session-based metrics be displayed even if Epochs are not
loaded
0.0.8 (15/09/2025)
Visualisations
In the sleep clock, removed the “clock arms”, which were not very
useful and making the figure crowded
Sleep Report
Added the social jet-lag value
Fixed
Sleep clock: fixed display for sessions spanning midday
0.0.7 (24/07/2025)
Sleep Report
The title of the Sleep Report can be set in the app via the
corresponding text box, or by using the title argument with
the sleep_report function
Default title is an empty string, which will only print “Sleep
Report”
Added a sentence in the “Sleep monitoring” section to let people
know that the recording is not always fully accurate and can be
influenced by external factors, e.g. pets
0.0.6 (15/07/2025)
New
Added the sleep_report function to generate a sleep
report for patients, using R markdown
Added a “Download subject report” button to the Export Data section
of nocturn
Added sleep efficiency to the Sessions summary table
Added a “Sleep Times Distributions” tab that shows distributions of
times at sleep onset, midsleep and wakeup. Three types of graph are
available:
Boxplot (horizontal)
Histogram
Density (with median value highlighted as dashed line)
0.0.5 (25/06/2025)
New
Added functions to calculate different metrics on sleep regularity:
Interdaily stability (IS)
Social jet-lag (SJL)
Chronotype
Composite Phase Deviation (CPD)
Sleep Regularity Index (SRI)
Fixed
In Somnofy data, sleep stage 5 (no presence) was incorrectly classed
as “asleep” in the spiral
0.0.4 (28/05/2025)
New
Time-series data from GGIR (raw output from part 5) can be loaded as
Epochs
A new wiki
section has been added to explain which outputs can be used
0.0.3 (23/05/2025)
New
Summary outputs from GGIR (part 5) in csv format can be loaded as
Sessions
Fixed
Setting column names with “Set Session Columns” and “Set Epoch
Columns” work correctly
Loading a CSV file that doesn’t fit the pre-set formats doesn’t
crash the app anymore
0.0.2.1 (19/05/2025)
Patch to fix sleep clock display on the shiny server. No visible
changes for users.
0.0.2 (16/05/2025)
New
Annotation tab
The “Annotation” tab (next to Summary, Compliance and Filtering)
allows the user to assign a custom tag to each session. This could be
used for example to highlight specific episodes from a sleep journal.
The custom annotations will be displayed in the different data tables,
and can be used in the figures (see next section).
Changable colormaps for the
figures
Most figures now have a “Colour by” drop-down menu. Use this menu to
change the colours on the figure, for example to colour data according
to the custom annotations (“annotation” variable), or by work days
vs. weekends (“is_workday”).
More filtering options
Added filtering options for:
Age
Sex
Subject ID
These sliders are shown dynamically: they will only appear in the app
if the relevant column is available in the data.
The corresponding R filtering functions are:
filter_by_age_range
filter_by_sex
select_subjects
Manage column names
The app now has “Set session columns” and “Set epoch columns” menus
(in the Data input module) that allow setting different column names to
the default.
All functions that accept sessions or epochs dataframes now take an
optional col_names argument that can be used to override
the default column names. Example:
Added example data for the v1 of the Somnofy API (data generated
before 2025). Once nocturn is loaded, they are directly accessible via
the variables:
example_sessions_v1
example_epochs_v1
0.0.1 (06/05/2025)
New
Updated the Sleep clock to show the duration of sleep sessions
Added “Sleep onset & wakeup”, a horizontal bar graph that shows
sleep onset and wakeup times aggregated either by night, days of the
week, or weekend/weekday.
Added an option to export plots in PDF format
Fixed
Defined better presets for dimensions of exported plots
Fixed a timezone issue that was sometimes causing sleep onset and
wakeup from sessions to be shifted by 1 hour
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.