>
Table of content

Notebook - Wearadian (ex-SleepNon24BiologicalMeasures)

Wearadian (ex-SleepNon24BiologicalMeasures)

First created on 19 June 2020.
Last update: April 2024.
Written by Stephen Karl Larroque.
ORCID: https://orcid.org/0000-0002-6248-0957

Description

The Wearadian project aims to provide a complete set of clinical-grade devices to monitor over the long-term (1 week to a year) various factors that are well-established in influencing or reflecting the circadian rhythm. In clinical jargon, the aim is to devise wearables for the non-invasive ambulatory supervised monitoring and self-monitoring of human circadian rhythm. This document describes these tools, how to set them up, how to collect data and some leads to analyze them.

Indeed, there is a lack of both accurate and non-invasive and durable devices to monitor the human circadian rhythm: often, the devices are invasive (such as for core body temperature sensing), or are inaccurate (wrist PPG instead of ECG, low sampling rate), and even when these two criteria are met, most devices cannot last at least 24h, which makes them unusable to monitor a full circadian cycle, especially for circadian rhythm disorders such as non-24 where one cycle can be much longer than 24h. However, to allow for self-monitoring of the circadian rhythm, a device needs to fulfill at least these 3 criteria (and more). This project aims to provide a set of devices to capture most of the biological signals that can objectively reflect or affect the human circadian rhythm.

To achieve that, we repurpose off-the-shelf components and devices where possible, or create new ones with DIY Arduino boards where necessary. This repository will contain all the instructions to detail what components and devices are necessary, how to use them, and for the custom devices the hardware and software source codes are provided. Softwares to visualize and (rudimentarily) analyze the generated data is also provided.

This technical document describes each device's setup, donning procedure and data acquisition.

The data generated by all these wearables is published at: https://figshare.com/projects/MyNon24Sleep_-_A_self-study_of_the_circadian_rhythm_and_its_altering_factors/101804

And the data can be visualized using their respective softwares, or in the context of circadian rhythm analysis with the following companion tool: https://github.com/Circadiaware/circalizer

See also the other companion projects on Circadiaware: https://github.com/Circadiaware

Wearadian version 1

Wearables list:

  • Polar H10 (ECG + 3-axis actigraphy), combined with long battery dedicated Android smartphone Realme i6 (160€) and this android app.
  • GreenTEG CORE (core body temperature + trunk skin temperature), with a custom velcro attachment system.
  • Axivity AX6 (6-axis actigraphy).
  • Three iButtons DS1925L (or DS1925EVKIT starter kit to also get the USB adapter to download the data) on a cotton sports wrist-band attached with a hooks-type solid base velcro (wrist skin temperature).
  • LYS Button for light sensing, with a dedicated iPhone device to upload collected data (iPhone 7 with iOS 15.3 tested to work OK).

After many iterations, since 2021-01-21 the system consists in 2 sets of wearables:

  1. on a chest belt, the following sensors are attached: the ECG Polar H10 in the center of the trunk + Core body temperature sensor GreenTEG CORE on the side of the trunk using a DIY velcro scratch and loop.
  2. on the non-dominant (here: left) forearm, the subject wears a cotton sports wrist band with the 3 iButtons to measure wrist skin temperature or ambient temperature + 6-axis actigraphy device AX-6 on the exterior. They are all attached with velcro on the cotton wrist band.

In addition to these 2 sets of wearables, a companion tool is used:

  • Sleepmeter Free and its widget, to collect sleep-wake data (sleep diary) and provide additional participant feedbacks and labelling.

Data for the MyNon24Sleep study was collected with Wearadian version 1 from February 2021 to February 2022 included.

Wearadian version 2

Since March 2022, the second year of data collection was done with a revamped experimental protocol, designed to meet the following additional objectives:

  • Add new metrics to cover potential confounding factors that were previously untracked, such as meal time, light therapy duration, bright light exposure pattern, hypnogram (EEG determined sleep stages). More precisely:
    • (Rejected) Added Dreem 2 at night to collect EEG hypnogram (sleep stages). Deprecated because the occipital EEG sensor gets damaged very fast and cannot be replaced since the device is not supported anymore (Dreem 3 is now sold exclusively to clinical institutions).
    • Circalog for sleep diary instead of Sleepmeter Free.
    • Luminette v3 usage history for light therapy usage pattern.
    • Lys button for bright light exposure pattern.
    • Deprecation and removal of GreenTEG CORE sensor due to inaccurate core body temperature measurements (ref) and AI filtering algorithm is closed-source (inadequate to model atypical circadian rhythms).
  • Minimize diruptions, when data is not collected.
  • Optimize for outdoors use, to wear at all time and under all conditions. This includes a redesign to avoid the loss of easily detachable elements, and resistance against rain using water resistant sensors or enclosures to protect non water resistant sensors and avoid devices detachment during motion (eg, iButtons under a cotton wristband, itself under cloths usually). More precisely:
    • removed exterior ventral iButton (ambient temperature logger).
    • placed actigraphic logger Axivity AX6 inside the cotton wrist sports band instead of externally.

Overview of the whole wearables system that is worn 24/7:

  1. (optional, not directly useful for circadian rhythm estimation) on a chest belt, the following sensors are attached: the ECG Polar H10 in the center of the trunk.
  2. on the non-dominant (here: left) forearm, the subject wears a cotton sports wrist band with the 3 iButtons to measure wrist skin temperature or ambient temperature + 6-axis actigraphy device AX-6 on the exterior. They are all attached with velcro on the cotton wrist band.
  3. a pendant hung on a necklace or on the shirt neck, with a photosensor for ambient light conditions (light intensity and color), plus experimental usage history feature in new Luminette v3 devices to monitor light therapy use. The chosen device is LYS for ambient lighting measures. Alternatively, partial instructions to make a DIY light sensor are provided below, but this solution was not chosen due to the difficulties in calibrating DIY light sensors. Since the sensor is relatively far from the eyes, it cannot detect light therapy when done with light therapy glasses such as Luminette because the glasses's leds are conceived to project 500 lux at a small distance just enough to reach the eyes but not much further, hence light therapy usage is monitored with Luminette's experimental usage history feature transferred via Bluetooth on an iPhone 7 device.

In addition to these wearables, other sensors or companion tools that are used at specific points in time:

  • Dreem 2, used while sleeping (at least the main night, but not necessarily for naps, and only at home, not during travels).
  • Circalog, to log periodic events and additional feedbacks such as the sleep-wake pattern (sleep diary), feeding pattern (meals timing), etc.

Wearadian for infants

Some of the wearables can be worn by infants as early as 2 weeks old to any age upward, if they are healthy and steadily gaining weight. Maybe they can work at birth but it is difficult to try as they are much weaker, their muscles are too atrophied to wear such wearable sensors at all time (the sensors that are placed on newborns in hospitals are "deported", which means that the main unit is not worn by the infant but is a bigger device attached to the infant's bed, and only a separated probe is worn by the newborn which is very very light usually).

Photos and videos showing how the infant sensors are designed and attached are available in this online folder: https://github.com/Circadiaware/wearadian/tree/main/docs/footage/infant-sensors

Necessary materials:

  • Sew-on "soft" velcro (white)
  • Strong adhesive velcro (black)
  • Prym pressure fasteners/snaps with claws ("no-sew") in 8mm. The advantage with claws fasteners compared to other pressure fasteners is that they do not require a special tool to cut a hole in cloths, a simple hammer is sufficient to make the claws go through (as long as the material is not too thick, but even somewhat thick materials such as felt are fine). For a demo, see this video. It is available online here and here at the time of writing, search for: Prym 8mm inoxydable sans couture griffes Jersey.
  • Felt band (= "feutrine" in french), as is often sold in medical store for newborn oximeters sensors, but any felt band is fine.

The following sensors can be used with the described adaptations for infants:

  • Actigraphic recordings using the Axivity AX6 worn on one of the ankles, for 24/7 wear:
    • Materials required: an Axivity AX3 or AX6 sensor, a felt band that is 2.5x to 3x as long as the infant's ankle's circumference, white (soft) and black (strong) velcro bands (see below in the document for details and links), metal inox snap fasteners with claws such as Prym's.
    • Attachment system design: by wrapping around a felt band, with both 2x velcros and snap buttons/fasteners as attachment systems. For velcro, use the white velcro linked below, only on one side of the felt band as it can attach to the felt material (although not robustly). For the snap buttons, prefer metal inox snap fasteners with claws such as offered by the Prym brand (a very notorious brand in fashion clothing material producer, especially for fasteners), as the inox reduces the risk of allergies, and the claws make it easy to pierce through the felt material without using a dedicated hole-maker tool beforehand, only a hammer is required. The felt band should be long enough to wrap around the ankle 2.5x or even 3x if you want to reuse it while the child grows past 6 months. It is necessary for the felt band to be this long so that the first loop just wraps around the ankle, then the sensor is placed on top (with double black velcro), and then another loop of the felt band is wrapped on top of the sensor. The snap fasteners should be done at two points: at the end of the first loop and before the AX6 sensor, and after the AX6 sensor, so that both loops are secured, and the AX6 sensor is securely attached both by being sandwiched by the two loops, and additionally by the two black velcro bands glued on both of AX6 surfaces, and ensure the black velcro bands are not larger than the felt band's width, to avoid the velcro to be in contact with the infant's skin. When the child grows, it is necessary to add additional snap fasteners to readjust the circumference to the ankles, so that they are not too tight, or you can do that beforehand in prevision by just adding multiple snape fasteners consecutively one behind the other, so that you have some room to adjust. When placing the sensor, always orient the arrow in the same direction (upward towards the infant's head, or downward towards the foot). For our studies, we choose to orient the arrow upwards. Tip for snap fasteners: position the male connectors on the base, so that when the parents try to fasten the buttons, they move the female one, and if they miss, the flat female connector won't be uncomfortable to the infant.
      • felt+velcro band (felt = feutrine en français), either buy it already made in medical devices shops online, they are often sold as newborn sensors for oximeters, or buy both materials separately and sew them yourself. The felt+velcro band attaches on itself and can be placed on the newborn's left ankle and later on his left wrist (left side is assumed to be non dominant but if the parents are left handed it may be better to place on the right side). This replaces the cotton wrist band for adults.
    • Wearing instructions: the sensor can be worn on any ankle at all times 24/7, but it is advised to switch ankles every 2 weeks while the infant is still so young and weak that the weight of the sensor can cause muscle hypertrophy (ie, muscle growth), so by switching ankles regularly, the load will be balanced and both ankles' muscles should grow similarly. When the infant is old enough so that the sensor's weight becomes negligible, this will not be necessary anymore. The sensor with the felt band can be worn all the time on the ankle's skin directly, but it can also be worn on cloths or inside cloths, just make sure to add additional snap fasteners to allow more room and not be too tight when there are cloths such as socks. The sensor can be worn indoors or outdoors, and is resistant to water and waterproof to some degree. Instruct parents to turn the felt band so that the sensor is on the outward side of the ankle, as otherwise the "bulky" sensor can be uncomfortable to the infant if it rotates to be just above the front of the feet. The felt band and sensor need to be cleaned up regularly (about once per week, during data transfer) by using paper towel or microfiber towel imbibed 70% alcohol and pass it over the felt band and sensor, remove any skin residue and debris.
      • Addendum: orient the AX6 so that the arrow can be seen from outward (ie, not facing the infant's leg) and the arrow should point up towards the infant's trunk and head. Do not attach the felt band too tight on the infant, if it leaves a mark on the skin then it's too tight. Attach to ankle (left or right depending on which one is assumed to be non-dominant). Then place the baby in a pajama (ie, a cloth that covers the whole body including legs and feet), which will ensure that the sensor won't detach during motion, especially when outdoors. Detach the velcro band and AX6 sensor each time before changing diapers to avoid dirtying them, then reattach at the end when buttoning back up the pajama. Infants this young always wear at least one layer of pajamas, including during summmr, because they can't regulate well their core body temperature due to the immaturity of the circadian and homeostatic systems, which happens only at around 3 months post birth.
      • There are two versions of the felt band + velcro + prym pressure fasteners (aka snaps/clips) designs that were conceived and tested. Version 2 is an improved design that: 1) reduces the number of Prym pressure fasteners to add when the infant grows, here only 1 male pressure fastener needs to be added, whereas in v1 there had to be 4 new ones; 2) the AX6 sensor can be pre-wrapped and fastened, so that only one fastener needs to be set to attach the band around the infant's ankle, whereas in v1 there were 3 points; 3) the AX6 sensor is much more robustly attached and cannot be detached, even during outdoors use and by older babies who are more vigorous.
      • When going outdoors, instruct parents to cloth up the infant with socks wrapping up around the sensor, or full-body cloths such as pajamas, to not only keep the infant warm but also prevent the sensor from detaching.
      • From 3-4 months old, the infant can sometimes detach the sensor. From 5-6 months old, the infant become strong enough and sufficiently motor coordinated to almost always detach the sensor unless it is wrapped inside a sock.
    • Data collection: data transfer needs to be done once every 9 days. It's better to do it once every week at a set day/time by setting an electronic reminder, so as to avoid forgetting. Data is collected using the OmGUI software, and the sensor is being recharged simultaneously. Set the name formatting template as indicated below, so that the start and end datetime of each recording is set in the filename automatically.

  • Core body temperature measurements using GreenTEG Core, only for bouts of 3 continuous days and nights, separated by weeks of non-wear:
    • Materials required: white (soft) sew-on and black (strong) velcro bands, GreenTEG Core with the standard license or the RESEARCH license (now renamed CALERAresearch).
    • Attachment system design: sew-on the velcro band on the "body" cloths, which is a type of cloth that is directly in contact with the baby's skin, it's the lowest cloth layer they wear. The velcro needs to be sewn coronally (oriented horizontally) on the upper torso, from below the armpit to the middle of the torso (instead of entirely below the armpit for adults, for infants the sensor should rest on one side of the torso, so that gravity helps with skin contact), always below the nipple (never overlap with the nipple). The placement of the velcro needs to be over the ribcage of the infant, because organs are very fragile at this early age, so avoid placing the sensor on soft areas such as the belly. Try to cut the white velcro band to be exactly the size of the black velcro band of the CORE sensor, so that when the sensor is placed, there is no superfluous white velcro that can be in contact with the infant's skin, as the velcro will otherwise cause skin rashes. A black velcro band needs to be sticked on the CORE sensor, as described below with the custom attachment system, it's exactly the same. The head of the sensor (where the CORE branding is located and the pins connectors to recharge the battery) are to be oriented towards the middle of the chest. Cut an additional white velcro band of exactly the same size at the one that was sewn on, that will be used as a placeholder for traveling. Multiple bodies cloths need to be prepared, at least 2 per recording session (in case there is poop leakage and the current cloth needs to be replaced, another one can be used meanwhile the first one gets washed), and new ones need to be produced for about every 2 recording sessions as the infant grows and need new, larger cloths.
    • Wearing instructions: the sensor should not be worn at all times but only for small periods of 3 days and nights, every 2 weeks at first, and then every months from 2 months old. Preferably, the sensor should be worn when the infant is mostly at home, as it can be an additional risk in case of accidents such as car accidents, as the sensor will be a foreign object pressed against the ribcage. For this reason, the sensor cannot be worn when traveling in a baby car seat, as the seat belt will add additional uncomfortable pressure, but most importantly it can be very dangerous in case of an accident, as the seat belt will press the sensor into the ribcage with potential damage to the infant. If travelling is necessary during a data acquisition period, remove the sensor meanwhile, and attach the placeholder white velcro band on the body cloth so as to avoid contact between the velcro and the infant's skin, and replace with the CORE sensor after arriving at the destination and when the baby is out of the baby car seat.
    • Data collection: similar to the instructions given below for the standard wearadian protocol for adults, ie, either via the cloud for the standard license, or via the mobile app and an export into CSV file for the RESEARCH license allowing for 1Hz acquisition.
    • Note: this was for the moment tested only on infants younger than 6 months old, before they can crawl or sleep on their front. The assumption is that gravity and the tight "body" cloth both help achieve good skin contact with the skin and hence reliable measurements, and since young infants are required to always sleep on their back to reduce SIDS (sudden infant death syndrome) risks, wearing the sensor should not be uncomfortable. Wearing the sensor is not a contraindication to breastfeeding, even when the baby lays on the front (mother laying on their back), the parent placing the infant just needs to be careful when positioning the infant and check if maybe the sensor moved and needs to be replaced (note the sensor cannot detach, but the body cloth is rarely snugly tight since the infant constantly and fastly grows up, so there is usually some room, and this can allow the sensor to move a bit around with the cloth, so repositioning the cloth can be helpful to improve comfort and skin contact).
    • Note2: it is not the first time that the GreenTEG CORE sensor is used this way on infants, another non peer reviewed study (archived version) did it before on babies up to 18 months old, with a slightly different placement and with a different attachment system (chest apical position, what we below term axial/axillary placement for adults) at the Universitats-Kinderspital Zurich by Lukas Durrer.
  • Optional: ECG/PPG and oximetry SpO2 saturation : Creative Medical SP-20 with Y-sensor on the foot with MoveOxy low perfusion and anti movement technology, or better is Masimo SET but very expensive.

Selection of wearables and technical specs

This section lists and discusses various options of wearables for this experiment. For each category, one device was selected (bold), whereas other alternatives are left here for future reference for other experimenters if their needs differ. Note that this list is not exhaustive, it only includes devices that fit the requirements of this experiment (24/7 acquisition), for a full list of wearables devices that can be applied to circadian rhythm research, see the Wearables section in the SleepNon24 document.

General criteria for a good continuous wearable sensor

Although there are technical factors specific to each domain of vitals that need to be accounted for, there are general factors that are necessary for a wearable to be usable for continuous monitoring, criteria that we deem make for a "good" wearable:

  • target population : this is a crucial factor, as non disabled adults will be capable of following instructions and wear cumbersome wearables, whereas infants, children and non responsive pathological patients (eg, disorders of consciousness) will require zero manipulation, safe undetachable wearables with long (weekly) battery and storage space, as otherwise the parents and researchers are unlikely to follow through over more than a few days of study, whereas some phenomena such as the circadian rhythm require at least weeks if not months of continuous study. An alternative for some sensors is to record over a few days at an interval, eg, 3 days and nights of recording every 2 weeks for infants.
  • obviously non invasive: the sensor should not require the wearer to place a probe inside their body. This is not only for comfort,but also for hygiene: probes that are insertet inside the body require medical monitoring at all time as they are prone to infections, and usually there is no invasive probe that do not get infected after being worn longer than a few days. Furthermore, there is a risk of internal body damage, as in case of an accident, the sensor may tear internal tissues, especially rectal probes (or core body temperature sensing).
  • battery life of at least 48h, but ideally 8 days: battery life needs to be at least 48h so that the user can keep the sensor at least a full 24h before recharging whenever convenient to them, which causes a big variability depending on their day-to-day duties, so this can expand to 40h easily. Ideally, the battery should last for more than a week, which allows wearers to forget about the sensor and go on with their lives, and just set a reminder to recharge weekly, this is a crucial factor for comfort. Also account for the target.
  • internal storage space, at least 24h but ideally a week: just like battery life, internal storage space is crucial, so that the data can be collected continuously without any loss or gap. Hence, 24h is a bare minimum, which requires the user to transfer data manually twice a day (at wake up and before sleep) to avoid any data loss or gap. However, sensors that allow to collect data over at least a week are ideal, for the same reasons as for battery life. When the sensor itself cannot include such a long internal storage space due to physical space or technological limitations such as ECG data being too big to fit on a miniaturized flash storage space, the wearable should at least be able to continuously transmit and store data on an external wireless receptor, one example being the Polar H10 that can send data continuously over bluetooth to an Android device running a custom made app to continuously record. This is only possible because Polar recently released the full SDK to allow 3rd-party apps developments, but the manufacturers should also consider the possibility to include this feature in their native apps.
  • highest temporal resolution possible, but balance with battery and storage requirements: recording at the highest frequency is always better, eg, 1s is better than one sample every 5min, as it allows for finer grained analysis and artifact removal in post-processing. However, a higher recording frequency increases energy consumption and generates more data. Hence, the temporal resolution will always need to be balanced between highest resolution and the storage and battery consumptions, hence finding a sweet spot that fits the needs for one's study is the objective. One way to assess that is to look at previous research and assess the temporal resolution of the underlying vital signal, although sometimes the currently known temporal resolution from previous research was itself determined with previous technology with a lower temporal resolution which may have limited the discovery of finer grained phenomena, one such example is sub-second fMRI or MEEG vs EEG. Another way to assess is with regard to the objective phenomenon you want to study, which may not require a temporal or technical resolutions as high as for other phenomena, one example being ECG, if only the heart rate and variability are required, a single-lead 100Hz is perfectly fine, whereas if the goal is to study pathological cardiac conditions, a much higher resolution and multiple leads are necessary. The target population also needs to be considered, with adults being most capable to do with less lasting battery and more cumbersome data upload instructions, whereas infants, children and non responsive pathological patients (eg, disorders of consciousness) require zero manipulation wearables with long (weekly) running batteries and storage.
  • highest value precision. For example, the number of directions in actigraphy can be 3-axis, 6-axis, 9-axis or 12-axis. Another example is the best resolution to store the values. But this again needs to be balanced with energy and storage consumption with regards to one's target application, as a lower precision but longer battery and recording lives can be preferable, especially for infants and kids.
  • measurement technology precision, raw data access and sensors being closest to signal source: this is a domain specific criterion that neet to be evaluated separately for each type of vitals and their associated technologies, but there are concepts that crn help guide your decision. Prefer to use a technology that provide the closest access to raw data, a typical example is ECG vs PPG, both allow to get the heart rate and heart rate variability (because both allow to get the IBI - inter beats interval), but PPG can only provide discrete pulse, because the waveform is imprecise by nature due to using photosensors on limbs (far from the heart, which is the source generating the signal) , whereas ECG uses electrodes on the chest or back, which allow to get a signal very close spatially to the heart, and hence can produce a full QRS waveform.
  • robust to motion artifacts. Extensions such as cables that link the main unit to the probe such as is common with ECG increases the proneness to motion artifacts because the motion of cables amplify the wearer's motion. Hence prefer chest strap with dry electrodes, or sticky gel electrodes.
  • to avoid damaging the wearer's skin on the long run, avoid sticky gel and tapes, prefer dry sensors (ie, chest belt, wrist band, ankle band, feet socks, headbands), but not photosensors, prefer skin contact sensors for precision: although wet electrodes using sticky gels or tapes provide great signal and is the gold standard, they are prone to cause skin damages when worn longer than a few days/weeks, which is the length of most clinical and research studies. Idem for common EEGs headsets, they require hair gel which is sticky and messy and unhygienic, especially if it is applied every nights over a period longer than a few days. Another issue is that they are generally associated with deported probes, hence with dangling cables that increase motion artifacts, although there are miniaturized standalone sensors that are combined with the sticky gel electrodes, such as for ECG. Prefer instead dry electrodes and sensors, such as chest belts (eg, ECG Polar H10 and GreenTEG CORE for core body temperature), wrist bands (eg, Axivity AX6 and Thermocron iButtons), ankle straps and feet straps (oximetry), head bands (EEG Dreem). Photosensors are a no-contact alternative but they currently only provide imprecise, non clinical grade measures that are unfit for both research and clinical applications.

ECG, heart rate, heart rate variability, IBI sensors

  • Higher-grade alternatives (but with much shorter battery or storage space):
    • VitalSignum Beat2Phone, costs 500 euros, uses a chest strap, can record medical-grade 2000Hz ECG on internal memory for 24-48h, and data is exportable from the Android app to a computer directly without any cloud service necessary. Medical-grade device that is certified in European Union to diagnose atrial fibrillation.
    • Shimmer3 ECG, costs 500 euros, 5-wires 4-leads. Medical-grade ECG using standard wet electrodes. An open-source analysis toolkit in Python is provided here and here. Shimmer also provides other wireless sensors.
    • BitTalino revolution ECG board with the LoggerBIT firmware and OpenLog breakout board (sourcecode here). Opensource ECG monitor, can record medical-grade 1000Hz ECG using 3-wires wet electrodes on internal memory for 40h with a 700mAh battery (but can use a much longer battery, with a 3000mAh battery the recording can last 7 days).
    • PPG devices such as Apple Watch, Oura ring and others are excluded since they cannot acquire the full ECG shape (the QRS), at most they can collect heart rate and heart rate variability.
      • About Oura Ring for heart rate monitoring:
        • API doc: https://cloud.ouraring.com/docs/sleep
        • 5-min hypnogram (sleep stages scoring), heart-rate and heart-rate variability (calculated as RMSSD). No IBI nor temperature nor others, all other metrics are averaged over the whole day. Also, these data are only acquired during sleep (when the device detects correctly the sleep period, which does not always work...).
        • sleep.score_alignment
Type: Int
Range: 1-100, or 0 if not available.
Represents circadian alignment's contribution for sleep score. Sleep midpoint time (sleep.midpoint_time) between 12PM and 3AM gives highest score. The more the midpoint time deviates from that range, the lower the score. The weigh of sleep.score_alignment in sleep score calculation is 0.10.
--> Oura ring sleep score is unreliable for people with circadian rhythm disorders.
  • Temperature measured is skin temperature, and only at night, and it only provides an average value per day/sleep period, even for v3 (which boasts about a minute-by-minute acquisition, which is misdirection): https://www.reddit.com/r/ouraring/comments/rdl46j/access_raw_temperature_data/ho2ssmq/
  • Also battery drain is higher the more the individual sleeps, since that's when "deep analysis" is done (ie, more data collected).
  • Heart rate and movement (actigraphy?) every 5min are the only metrics currently collected all the time even during the day.
  • CONCLUSION: Oura ring v3, just like Fitbit devices, may be interesting only at a later stage to compare their heart rate readings and maybe use that to detect the circadian fluctuations (especially the minimal point which should coincide with the midpoint of the circadian night and minimal core body temperature), as a more comfortable, consumer grade alternative to the clinical-grade but chest-worn Polar H10 ECG. But not as a primary research tool as it is too unreliable, not only it is not sufficiently fine grained, the measured site (very distal organs) are the most unreliable proxies as they are the most prone to ambient environmental influences. If the hypnogram accuracy was better, it may have been interesting, but a Dreem or even OpenECG device is likely much better and still far off from a true high-density (256 channels) ECG hypnogram.
  • Red light for PPG is better than green light, penetrates 10x deeper into the skin tissues: https://www.linkedin.com/pulse/going-red-green-sameer-sontakey (as used in Biostrap and Oura ring) and https://ouraring.com/ring-technology
  • Alternative: Circular Ring, a potential future concurrent to Oura Ring, with the notable advantage of offering a smart (chronobiological) alarm vibration feature. And it may offer raw data access: https://www.reddit.com/r/ouraring/comments/r52nah/i_have_waited_so_long_but_decided_not_to_buy_gen/
    • 4 days of battery (60min recharge) and 10 days of internal memory: https://fr.circular.xyz/features and https://fr.circular.xyz/sleep
    • https://www.reddit.com/r/ouraring/comments/r1dh21/the_future_of_ouras_api/
    • this device offers personalized recommendations (similar to Lys) to optimize your sleep based on your chronotype, that's what they call the "circadian rhythm" feature, but it does not estimate the circadian rhythm. It anyway can't, since sleep metrics are only collected during sleep, just like Oura. As a rule of thumb, the circadian rhythm cannot be estimated only by looking at metrics during sleep, because the sleep can be in circadian misalignment, so that metrics must be monitored 24/24 to be able to estimate the circadian phase.


Core body temperature

  • GreenTeg CORE for core body temperature:
    • IMPORTANT NOTE: This sensor is deprecated in future protocols, as this paper found that it does not accurately measure core body temperature and the AI filtering algorithm is closed-source (inadequate to model atypical circadian rhythms), and personally the present document's author has some concerns about the company's customers/patients data management.
    • Pros: zero-heat-flux temperature, long battery (6 days or 3-5 days), wireless bluetooth (and ANT+), 84h (3.5d) of internal storage, sampling rate 1Hz (1 data point per second), chest strap, data export fully possible but not explained in faq need to contact them
      • yes confirmed for zero-heat-flux: "CORE uses a thermal energy transfer sensor from greenTEG in combination with a skin temperature sensor to calculate the core body temperature. The AI algorithm calculates the core body temperature with the highest accuracy in comparison to competing technologies. Due to the heat flux sensor, this technology has a high accuracy even in a not controlled environment (e.g. under the sun, during intense physical activity, and within a large range of ambient temperatures and humidity)" https://corebodytemp.com/faq/
      • David Gerritzen wrote in e-mail: "The raw data can be downloaded from the app." when I asked about the raw temperature measurements per second
      • VALIDATION: As of 2022: "Provides medical-grade accuracy according to ISO_80601-2-56, Mean Absolute Deviation of 0.21 °C" https://corebodytemp.com/pages/accuracy-validation and https://www.greenteg.com/public-statement/ — but not independent, and the referenced paper says the opposite
        • BEST CRITICAL VALIDATION: Original independent study link, showing self-reliability and relative reliability but not absolute value validation when compared to rectal: http://dx.doi.org/10.3390/s21175932
          • Summary: Reliability means that given similar circumstances, the sensor outputs similar values. The CORE sensor indeed appears to be "acceptably (...) reliable". But the readings are invalid, they are not reflecting core body temperature (according to the paper). A skin temperature sensor can be reliable, but if it does not measure core body temperature, it is useless for us. Even pseudoscientific sensors can be reliable, but they have no validity. (Note that the CORE is a scientific sensor). Reliability in itself has no value if the measures are not valid, because without validity, this means that the sensor is measuring something but not the thing that is claimed. Given the company is now redirecting to implementing the CORE sensor in limbs devices such as the Withing ScanWatch 2 and the Corsano Cardiowatch, and given core body temperature cannot be measured from the limbs, there is doubt about the future applications of the CORE technology for core body temperature measuring.
          • "Monitoring core body temperature (Tc) during training and competitions, especially in a hot environment, can help enhance an athlete's performance, as well as lower the risk for heat stroke. Accordingly, a noninvasive sensor that allows reliable monitoring of Tc would be highly beneficial in this context. One such novel non-invasive sensor was recently introduced onto the market (CORE, greenTEG, Rümlang, Switzerland), but, to our knowledge, a validation study of this device has not yet been reported. Therefore, the purpose of this study was to evaluate the validity and reliability of the CORE sensor. In Study I, 12 males were subjected to a low-to-moderate heat load by performing, on two separate occasions several days apart, two identical 60-min bouts of steady-state cycling in the laboratory at 19 °C and 30% relative humidity. In Study II, 13 males were subjected to moderate-to-high heat load by performing 90 min of cycling in the laboratory at 31 °C and 39% relative humidity. In both cases the core body temperatures indicated by the CORE sensor were compared to the corresponding values obtained using a rectal sensor (Trec). The first major finding was that the reliability of the CORE sensor is acceptable, since the mean bias between the two identical trials of exercise (0.02 °C) was not statistically significant. However, under both levels of heat load, the body temperature indicated by the CORE sensor did not agree well with Trec, with approximately 50% of all paired measurements differing by more than the predefined threshold for validity of ≤ 0.3 °C. In conclusion, the results obtained do not support the manufacturer's claim that the CORE sensor provides a valid measure of core body temperature."
          • “Compared to the data published by Ganio et al., the CORE sensor has proven to be more accurate than other non-invasive devices (i.e.,devices to assess forehead, oral, temporal, aural, and axillary) used in sports”
          • Moderate-to-High Heat Load: "The difference in mean Tc measured with the MSR rectal sensor and the CORE sensor was statistically significant (−0.10 ± 0.38 °C, p < 0.001). The negative mean bias means that the CORE sensor underestimated the temperature from the rectal sensor. Moreover, data show that mean differences between devices were below a previously established threshold of 0.3 °C in 45% of all values for the entire exercise. [...] Moreover, the analysis showed that the lowest range between LoA was for the cooling down period (−0.68 to 0.33 °C) and the largest for the warm-up period (−0.75 to 0.42 °C). [...] The end temperature of the warm-up period was significantly higher when measured with the CORE sensor in comparison with the MSR rectal sensor (p = 0.020). The increase in temperature was significantly higher for the CORE sensor during Ramp (p < 0.001), and cooling down period (p = 0.005), while for the other parts of the workout there was no statistically significant difference."
          • "The main findings were that the reliability of the CORE sensor was acceptable, with a non-significant mean bias between Trials 1a and 1b in Study I of only 0.02 °C. However, in comparison to the “gold standard” MSR rectal sensor, the Trec indicated by the CORE sensor demonstrated poor agreement during cycling under conditions of both low-to-moderate and moderate-to-high heat load, with differences between the devices that were greater than the predefined acceptable level of ≤ 0.3 °C being associated with 45% and 51% of all values measured, respectively. These findings do not support the claim that the CORE sensor provides a valid measure of core body temperature."
          • "The results of Study I show that a systematic bias between the temperature values obtained from two different sensors was evident throughout the protocol (0.23 ± 0.35 °C, p < 0.001), with the temperatures of the CORE sensor being systematically higher than those from the MSR rectal sensor, see Figure 2a. The range of differences in temperatures between devices was within the sum (±0.46 °C) of the measurement error provided by the manufacturers of each device (±0.2 °C for rectal sensor, and ±0.26 °C for CORE sensor) in 66% of all measured data points. Moreover, the mean difference between devices was below the criterion threshold of 0.3 °C in 51% of all measured data points, which is much lower compared to the percentage reported by Gosselin et al. (91%) [15]. Gosselin et al. tested the validity of the ingestible sensor during treadmill running in a hot environment (ambient temperature 38 °C)."
          • "A more detailed analysis showed that the mean bias in temperature between both devices was statistically significant and varied from around 0.22 ± 0.33 to 0.33 ± 0.33 °C across all phases, except for the last 20 min of SS"
          • "Despite the systematic difference in the temperature was observed between the CORE sensor and the MSR rectal sensor, the total temperature increase was, however, shown not to significantly differ between devices for the entire exercise, as well as each phase of exercise except the warm-up period (Table 4). Statistically significant different increases of temperature between both sensors during the warm-up period can be explained similarly as in Section 4.1."
          • "The range of differences in temperatures between devices was within the sum (±0.46 °C) of the measurement error provided by the manufacturers of each device in 73% of all measured data points, which was a slightly higher percentage compared to Study I. Moreover, the mean difference between devices was below the criterion threshold of 0.3 °C in 45% of all measured data points, which is much lower compared to the percentage reported by Gosselin et al. (91%) [15].
          • A more detailed analysis showed that the mean bias was not constant for all phases of the exercise. At the beginning and the end of the exercise bout, the CORE sensors underestimated the temperature obtained with MSR rectal sensor, while in the middle (SS from 15 to 35 min) the CORE sensor overestimated the temperature obtained with MSR rectal sensor.
          • Although the Trec is the preferred and recommended method of one of the governing bodies—National Athletic Trainers’ Association for assessing core body temperature [24], athletes and coaches use a variety of devices to measure temperature which is less invasive compared to the rectal sensor. Compared to the data published by Ganio et al. [17], the CORE sensor has proven to be more accurate than other non-invasive devices (i.e., devices to assess forehead, oral, temporal, aural, and axillary) used in sports. Nevertheless, the studies showed [15,16,17] that the ingestible temperature sensors are still more valid compared to the CORE sensor, but they are not entirely non-invasive and associated with high costs."
          • Beware menstrual cycles in women which can influence body temp! "The results of the present study must be interpreted with the following limitations in mind. We only tested continuous exercise, steady-state cycling. The main reason is that, as stated by Taylor et al. [8], the rectal temperature is perfectly acceptable during steady states while inadequate in certain dynamic phases. Therefore, the sensor response during intermittent exercise, for example, remains unknown. Moreover, the exercise was not performed in either very cold or very hot (above 30 °C) environmental conditions. In addition, only males were included here, primarily because the temperature changes associated with the menstrual cycle [25] could have influenced our evaluation of reliability. Clearly, this limitation should be kept in mind when interpreting data on women obtained with the CORE sensor. Accordingly, we utilized the Trec as the Tc reference value. As reported previously, Trec, gastrointestinal and esophagus temperatures are comparable when changes in the core temperature are small and/or gradual [26], whereas during the rapid changes only Trec and gastrointestinal temperature correlate well [27]. Therefore, although Trec does, in fact, reflect the actual Tc in most situations, in some cases, this value may be an under or -overestimation [8]. This potential limitation should be taken into consideration when interpreting our present findings and in future studies measurement of Tc at multiple sites could provide an even better reference value."
            • great, they reference the fact that reference value at different sites could provide a better estimation!
          • "Our findings indicate clearly that measurements of the core body provided by the CORE sensor are acceptably reliable, since the mean bias between repeated trials did not differ significantly. However, mean differences between these measurements and those provided by the MSR rectal sensor were greater than the predefined acceptable threshold of <0.3 °C in connection with approximately 50% of all the measurements we performed. Accordingly, our present findings do not support the claim that the CORE sensor provides valid measurements of core body temperature in male cyclists, therefore athletes and coaches should interpret such measurements with caution. In particular, care should be taken when assessing/monitoring higher Tc (above 39.5 °C) associated with heat-related medical problems, since the CORE sensor underestimates such elevated core body temperatures."
          • Correlation in shape, not absolute value, difficult to test over such a short period of time, we would need a circadian rhythm study, but here it's a sports study, over just 90min.
        • Note that the core body temperature measured by the CORE sensor is not exactly the same as rectal, it's known that core body temperature can slightly differ depending on the site of measurement (see here, here — there are 6 sites of core body temperature: rectal, bladder, gastrointestinal, pulmonary artery, esophagal, brain), so there are in fact multiple core body temperature measures. But rectal temperature (Trec) is the gold standard for circadian rhythm research as it is supposed to better estimates the pineal gland's temperature.
          • "Researchers estimate core temperature by taking measurements in the auditory canal, esophagus, and stomach, but rectal temperature is a more accurate method of estimating hypothalamic temperature." https://doi.org/10.14326/abe.7.88
            • Why? Because the SCN is in the hypothalamus, so its temperature is what matters since it's the master clock that controls most of the circadian rhythm modulations.
            • BUT even rectal temperature is only an imperfect proxy: "The axillary, buccal, tympanic and rectal temperatures do not reflect exactly the cerebral temperature. Nevertheless the rectal temperature is used as probably the most reliable indicator of the core body temperature." https://doi.org/10.1109/IEMBS.2006.259429
            • Bladder is likely a better proxy for brain temperature: https://www.doi.org/10.1097/01.NURSE.0000390678.95642.7f
          • But the main flaw of this validation study is that it did not take into account the body placement of the various temperature sensors: given the placement of the CORE sensor on the torso, it is more likely to rather reflect pulmonary artery blood temperature, which shows a faster reaction to sudden temperature changes, contrary to rectal core body temperature which is smoothed, and may explain the discrepancies observed in this validation study: "These authors demonstrated that ZHF tracked internal body temperature as measured by esophageal temperature with almost no time delay during exercise (the ZHF temperature - esophageal temperature = -0.05 ± 0.18°C) and recovery (the ZHF temperature - esophageal temperature = -0.01 ± 0.20°C) (Teunissen et al., 2011). However, internal body temperature did not exceed 38.5°C in this study as well; thus, the validity of higher internal body temperature measurement by ZHF remains to be tested." https://www.gssiweb.org/en/sports-science-exchange/Article/monitoring-internal-body-temperature
            • The Terumo CoreTemp (ZHF) was clinically validated against pulmonary blood temperature too: https://doi.org/10.1115/DMD2018-6930
            • ZHF was validated against brain temperature: against invasive reference: https://doi.org/10.1115/DMD2018-6930 , and non-invasive (NMR spectroscopy) reference: https://doi.org/10.1109/IEMBS.2006.259429
            • Hence, to compare the GreenTEG CORE sensor to rectal temperature, the CORE sensor should be worn over the stomach, to measure the gastrointestinal tract temperature. If worn on the torso, it should be compared to pulmonary artery blood temperature or esophagal temperature. If worn on the forehead, it should be compared to brain temperature.
            • Also, absolute values are different from trends/parameters, both should be studied to evaluate the reliability of the measurements.
          • And various factors can affect even the invasive core body temperature sensors: "Although we believe that it might have some influence on the difference in readings, the dominant arm of patients does not reach statistical significance, either in studies revised, or in ours. Male sex, weight, age and consciousness are factors contributing to an increase in the difference in the temperature measured in the pulmonary artery in most thermometers, although we were unable to find a satisfactory explanation for this phenomenon. Although one study (Giuliano et al., 1999) found no correlation between ambient temperature and the differences in the temperature measured, we did find one when using digital probe and infrared ear in oral equivalency thermometers, in that the differences in the readings increased at lower ambient temperature, which is surprising when one takes into account the different anatomical situations of the readings affected by this factor. We feel, however, that it is a factor which has to be taken more into consideration, when measuring the body temperature, since a change in the ambient temperature of 5C during the day for examples, could give a difference in the reading of between 0.3C and 0.9C." Review on reliability and accuracy of thermometers relatively to core body temperature: Rubia-Rubia, J., Arias, A., Sierra, A., & Aguirre-Jaime, A. (2011). Measurement of body temperature in adult patients: comparative study of accuracy, reliability and validity of different devices. International Journal of Nursing Studies, 48(7), 872–880. doi: https://doi.org/10.1016/j.ijnurstu.2010.11.003
        • It's also worth noting the study did not use the improved attachment by velcro system used in Wearadian that improves skin contact and insulate more against ambient changes thanks to the chest belt that is overlaid on top of the sensor.
          • Previous studies and even the original inventor of dual-heat-flux sensors found that insulation from ambient temperature is crucial for correct measurements: "DHFM was proposed by Kitamura et al. [2] with an indispensable urethane sponge cover. This method was improved theoretically by studying the influence of its geometric dimensions on initializing time and accuracy [11]. Whereafter, a thin aluminum cover was proposed for the thick sponge to enhance wearability and improve accuracy, and this design was fabricated and examined in mockup experiments [12]. On the basis of these results, in this study, this method was examined by practical measurements in comparison with the CoreTemp thermometer." https://doi.org/10.1109/JBHI.2016.2532933
        • Finally, it's not required for circadian rhythm research to get valid absolute temperature measurements, what matters is whether the temperature measurements match the trends, ie, relative increases or decreases, relatively to core body temperature, so that we can detect high and low phases. This study did not investigate that.
      • BEST CRITICAL: Another validation study, comparing with tympanic ear temperature, validating CORE as being reliable for absolute temperature measures and fever detection, hence CORE temperature is closer to invasive upper body core temperature measurements than lower body (as expected due to CORE placement):
        • Summary of study by GreenTEG (archive)
        • Original study on acute strokes: https://doi.org/10.3390/s22134760
        • A great accurate summary GreenTEG is this figure:
        • Legend: Accuracy (Limit of Agreement, LoA) comparison of the CALERA® solution determined for this specific study in comparison with other clinical thermometers. Reproduced from GreenTEG's report.
        • This figure shows that GreenTEG CORE / CALERA Research should be considered an accurate non invasive and portable solution to measure continuously core body temperature: it is not as accurate as dedicated, non portable solutions like the 3M Spot On or the Radius T nor the invasive solutions like tympanic, but it is infinitely more accurate than skin temperature.
      • Other validations of GreenTEG CORE:
    • Cons: no ECG, no FDA nor medical CE validation, shipment starts in June 2020 (so not even started at the time of this writing, end of May 2020 - shipping strted around September 2020 and sales to consumer started in 2021), need to pay a subscription of 99CHF/month/sensor to download raw data - the monthly subscription plan was dropped, data is downloadable for free from the cload for all consumer buyers.
    • Price: 240CHF (270€) with VAT in EU without chest strap (as of October 2020), for both B2B and consumers now (before it was only for B2B): https://corebodytemp.com/faq/ - maybe here for consumers: https://shop.greenteg.com/core - the consumer grade device allows one sample / 1 min resolution when downloading data as csv from the cloud server. For comparison, most circadian rhythm studies used sensors with a temporal resolution of one sample per 10 min, with only a few using more accurate sensors of one sample per 5 min.
      • However, to be able to download data as csv for post-processing and analysis on a computer, need to buy GreenTEG CORE Research CALERA Research at 999CHF, which includes both the CORE rebranded as CALERA and the license to access the data for a lifetime (although this goes through their servers) and since 2022 access to the programming SDK, so that we can implement our own heat flux algorithm, and we can access both core body temperature but also the two heat flux values with an unmatched resolution of 1Hz (one sample per second!). https://shop.greenteg.com/core-body-temperature/core-for-research/
      • Otherwise with standard GreenTEG CORE, we only get an access to the last 2 days of acquired data, on the phone, visually. Which is enough for simple purposes but not for data collection or a history of the circadian rhythm.
      • For circadian rhythm disorders monitoring, it's likely that it's necessary to have data collection, because a window of 2 days is not enough to monitor the circadian rhythm, the patient needs at least one week and likely more, the circadian rhythm cannot be assessed just over one day especially for circadian rhythm disorders where the circadian rhythm is much more variable than with typical sleepers and can easily be masked by various factors. Circadian rhythm disorders, including DSPD, non-24 and hypersomnia, are a potentially huge market, but data collection would be necessary.
      • As a workaround, the patient can write down when was the lowest period of core body temperature everyday. Not ideal because we lose data and it's cumbersome, but could be sufficient for the time being and certainly better than nothing, but it depends if that would be sufficient to estimate the circadian rhythm. If more complex algos are necessary to analyze and infer the circadian rhythm, then this pen-and-paper method won't work.
    • Technical specs: https://www.eoc-inc.com/wp-content/uploads/CORE-datasheet.pdf and https://corebodytemp.com/wp-content/uploads/2020/04/CORE-forElevatedBodyTempEBT-SpecSheet-V1.5.pdf
    • Is the product reusable?
      • "The product is fully reusable if used with a chest strap. If CORE is used as a patch, the skin-adhesive tape needs to be renewed after a shower. If the device is changed between persons, it can be cleaned with alcohol." https://corebodytemp.com/faq/
    • "Do I have to pay any ongoing licence fees? No, there are no licence fees." — but to access the raw data yes, there is a licensing fee... https://corebodytemp.com/pages/faq
    • "Bluetooth BLE and ANT+ connectivity are supported. CORE is also supporting the Bluetooth thermometer standard. To access data from the CORE from a 3rd party device or app, please contact us."
    • "How can I connect the CORE patch to any 3rd party visualisation platform (API links?)" - contact them
    • "Yes, the core has a IP67 rating. IP67 means that the unit can be dropped into a body of water up to a meter deep for half an hour."
    • "What are the normal temperature ranges?"
      • "It is essential to know that different thermometer methods give different body temperature readings. Generally, a rectal reading is around 0.5 °C higher than an oral reading. And an armpit or forehead scanner is 0.5 °C lower than an oral meeting. Some thermometers take these differences into account and show a temperature with an offset, and some don´t. Therefore it is always important to read the user guide. Our value is the actual (rectal) core temperature. A normal body temperature is between 97°F (36.1°C) to 99°F (37.2°C)."
    • "We are not accessing the data saved in your app. For more details, please review our privacy policy."
    • temperature sensor tech specs: https://www.greenteg.com/core-body-temperature/ and https://greenteg.com/template/userfiles/files/gSKIN_Heat_Flux_Sensors_OEM_XU_Datasheet V4.1.pdf and https://www.allaboutcircuits.com/news/returning-workers-keep-covid-19-at-bay-with-core-body-temperature-wearable/
      • "core body temperature, skin temperature, heart rate, timestamp, data quality, and battery level"
    • https://www.greenteg.com/non-invasive-core-body-temperature-measurements-during-sleep-daily-life/
    • Fertility study: Baker FC, Waner JI, Vieira EF, Taylor SR, Driver HS, Mitchell D (2001) Sleep and 24 hour body temperatures: a comparison in young men, naturally cycling women and women taking hormonal contraceptives. Journal of Physiology 530.3: 565—574 - cited by GreenTEG in their presentation: https://www.cips.org/Documents/Membership/Branch Speaker Presentations/3_greenTEG.pdf and https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2278431/
    • Greenteg CORE now has an arm strap in addition to chest strap! https://corebodytemp.com/products/core-arm-strap
    • Other validation studies (on other heat flux sensors):
      • BEST OVERVIEW OF DHFM VALIDATION STUDIES: Studies of heat flux technology for core body temperature measures for circadian rhythm research:
        • forehead (brain) zero-heat flux is appropriate for circadian rhythm research: https://doi.org/10.1109/IEMBS.2006.259429
        • dual-heat-flux compared to sublingual temperature: https://doi.org/10.1088/1361-6579/aa5f43 — but sublingual temperature is not core body temperature, although it is more reliable than other distal temperature sites: https://www.researchgate.net/publication/8107409_Core_temperature_measurement_Methods_and_current_insights
        • BEST CRITICAL VALIDATION: forehead dual-heat-flux compared with a reference medically approved zero-heat-flux forehead core body temperature sensor, great agreement for both physical exercise AND circadian rhythm at resting state: https://doi.org/10.1109/JBHI.2016.2532933
          • "The general conclusion was that higher (or larger) probes are better [12]. Therefore, we fabricated the probes on the basis of this conclusion. The radius was set as 22.0 mm, with two heights: 9.0 mm (fit type) and 15.0 mm (standard type) (Fig. 2 (b)). A radius of about 20 mm was considered suitable for applying to the body surface including limbs. While a height of 15 mm would provide better accuracy, the shorter one (9 mm) would be easier to wear. For both types, an initial time of about 20 min to establish heat equilibrium is needed due to the low heat conductivity of the chloroprene rubber."
          • (for fig6, n=5 with 2 participants)
          • The figure 6 above suggests that the minimal core body temperature point is not reliably estimated with DHFM, so we should instead focus on trends and segmenting between low and high phases, and states transitions between them!
          • "However, we also calculated the fittings with the CoreTemp data, and their statistics are shown in Table II. A one-sample t-test (α = 0.05) was applied to check whether there were significant differences of the fitting parameters between the two thermometries. Only the Amp (amplitude of the cosine-fitting curve) showed a significant difference."
            • Hence, absolute value is a bit off, but trends are in great agreement!
          • "In the chronological fluctuation of the CBT, two points are notable. First, body movement at a normal level did not cause any obvious measurement discrepancy between the prototype and the CoreTemp according to the diurnal variation of measurements by both devices. However, obvious discrepancies arose in the nocturnal parts, which may have been caused by unconscious body movement. Second, diurnal local ebbs might have arisen. For one subject, a distinct local ebb appeared from about 15:00 and lasted for about 4 h. According to the record filled in by the subject, he felt sleepy in the afternoon and dozed from 17:30 to 18:30, although he tried to stay awake. This dozing period was consistent with the appearance of the nadir of the local ebb."
            • This confirms the necessity of using an attachment system that guarantees robust skin contact, such as the velcro system we designed!
          • "Along with the improvements in the design of the probe, the suitable positions and corresponding applications have been defined. The forehead is standard since its physiological structure seldom changes and the organ behind it is crucial. The measurement also benefits from the relatively high heat conductivity to reach to a deep location. Therefore, the forehead may be a suitable for intensive CBT monitoring [13].
For practical use, the relatively long initialization time could be mitigated by preheating. Further, the device is supposed to be integrated in the helmet or cap to simplify the installation process. As for long-term use, an alternative position was suggested: the solar plexus, which has a similar physiological structure to the forehead. While the accuracy is inferior to that from the forehead [13], the user may benefit from the device being invisible and less constraining. Trials on the measurements on this position would be necessary."
  • This is in line with the findings of another study: according to this brain study, better positioning is where there is soft tissues beneath, not bones, so that the heat flux propagates better from the deep tissues, hence the solar plexus could be an option. Indeed, DHFM can acquire temperature 2cm below skin (DHF being the evolution of zero-heat-flux ZHF that consumes less energy): zero-heat-flux sensor for deep sensing of core body temperature if possible on the chest. Ref: Temperature Monitoring With Zero Heat Flux Technology In Comparison With Thermocouple Needle Probe During Selective Hypothermia, Mohammad Fazel Bakhsheshi et al, 2018. https://doi.org/10.1115/DMD2018-6930
  • BEST CONCLUSION: DHFM on the forehead can estimate the circadian rhythm trends but underestimate the absolute temperature by ~0.3°C: "The measurements by CoreTemp and DHFM thermometries show a distinct circadian rhythm and provide stable readings that can be considered as reliable approximations to the real CBT. A simulation of the application of DHFM thermometry to the forehead showed that its reading is about 0.3 °C lower than the encephalic temperature [13]."
  • "As we pointed out in the results, body movement may be the main reason there is discrepancy between the two thermometries and DHFM thermometry seems more sensitive. However, neither thermometry was sensitive to external disruptions. Food intake is supposed to influence the body temperature, but this influence was not obvious here. In contrast, physiological changes (from wakeful to sleepy) might have possibly triggered sudden local fluctuations of measurements according to the data of one subject.
Of all the fitting parameters, only the mesor shows significant difference between the thermometries, which may be caused by the use of all the raw data with some artifacts. However, the presence of artifacts seems unavoidable for long-term use. Fortunately, this intermittent defect did not influence the inference of circadian rhythm.
However, long-term measurement on the forehead would only be acceptable in experiments. It is a great burden for the subjects to have to wear the probes for 24 h as shown in Fig. 3.
Although, the DHFM-based probe is portable, the consciousness of its existence and the unpleasant feeling for long-term use on the head may be a major obstacle for its practical use for biorhythmicity monitoring. As we mentioned above, the solar plexus would be a suitable alternative for this kind of long-term measurement.
Since it will be worn on the torso for hours or even longer, the artifact will inevitably cause body movement, so external methods such as simultaneous measurement with an inertial sensor to capture the movement will be helpful to identify the noise and the successive purification."
  • Both Terumo CoreTemp and 3M SpotOn are clinically validated non-invasive core body temperature sensors using zero-heat-flux technology, but there is no clinically validated dual-heat-flux sensor yet.
  • BEST REF: Evaluation of Commercial, Wireless Dermal Thermometers for Surrogate Measurements of Core Temperature, 2019 https://pubmed.ncbi.nlm.nih.gov/30882250/
    • "All dermal thermometers rendered lower average temperatures than Terumo c405 (Feversmart -0.70 ± 0.65 °C; iThermonitor -0.77 ± 0.53 °C, Quest Temp Sitter -1.18 ± 0.66 °C, and Thermochron iButton -0.87 ± 0.65 °C). Sensitivity of the dermal thermometers for detecting core temperatures ≥38.0 °C was low, ranging from 0.33 to 0.6, but improved to 0.60 to 0.80 after adjusting temperatures by the methods' average deviation from rectal temperature. The results from the dermal thermometers tested here showed an insufficient correlation to core temperature to be used for core temperature monitoring in clinical research and practice. Unfortunately, other options for non-invasive temperature measurements are few. The two thermometers with the least unsatisfactory performance profile in our evaluations were the Feversmart and iThermonitor systems."
  • BEST REF & METHODS: on reliability and accuracy of thermometers relatively to core body temperature: Rubia-Rubia, J., Arias, A., Sierra, A., & Aguirre-Jaime, A. (2011). Measurement of body temperature in adult patients: comparative study of accuracy, reliability and validity of different devices. International Journal of Nursing Studies, 48(7), 872–880. doi: https://doi.org/10.1016/j.ijnurstu.2010.11.003
    • "For an error of ±0.2 °C and concordance with respect to fever, the gallium-in-glass thermometer gave the best results. The largest area under the receiver operating characteristic (ROC) curve is obtained by the digital axillar thermometer with probe (0.988 ± 0.007). The minimum difference between readings was given by the infrared ear thermometer, in comparison with the core temperature (−0.1 ± 0.3 °C)."
    • "The compact digital axillar thermometer and the digital thermometer with probe obtained the highest overall valuation score." → armpit measurement by contact is a very good measure site for core body temperature! Better than infrared!
    • "If we only evaluate the aspects of validity, reliability, accuracy and external influence, the best thermometer would be the gallium-in-glass after 12 min. The gallium-in-glass thermometer is less accurate after only 5 min in comparison with the reading taken after being placed for 12 min. If we add the evaluation of waste production, ease-of-use, speed, durability, security, patient comfort and costs, the thermometers that obtain the highest score are the compact digital and digital with probe in right axilla."
    • "We find that some of the factors studied do have an influence on differences in readings, but not with all thermometers, so a reliable reading from different kinds of thermometer will depend on minimising the particular factors that affect them."
    • BEST for DOC: "Although we believe that it might have some influence on the difference in readings, the dominant arm of patients does not reach statistical significance, either in studies revised, or in ours. Male sex, weight, age and consciousness are factors contributing to an increase in the difference in the temperature measured in the pulmonary artery in most thermometers, although we were unable to find a satisfactory explanation for this phenomenon. Although one study (Giuliano et al., 1999) found no correlation between ambient temperature and the differences in the temperature measured, we did find one when using digital probe and infrared ear in oral equivalency thermometers, in that the differences in the readings increased at lower ambient temperature, which is surprising when one takes into account the different anatomical situations of the readings affected by this factor. We feel, however, that it is a factor which has to be taken more into consideration, when measuring the body temperature, since a change in the ambient temperature of 5C during the day for examples, could give a difference in the reading of between 0.3C and 0.9C."
    • No unequivocally best thermometer, but there are better thermometers: "As there is no core temperature as a fever reference, we chose three arbitrary temperatures as a standard for analysing validity. We expected the different thermometers to give similar results for all of these references, but no single thermometer turned out to be the most valid for each reference core temperature by the area under the ROC curve; and the false negatives, positive predictive value and the specificity also fluctuate for the same thermometers. These results cannot be compared with the results of similar studies, in which such an analysis is not conducted. We could consider the compact digital axillar thermometer with probe as the most valid, although the heterogeneity of the validity parameters of each thermometer, dependent on the core temperature chosen as a reference, makes an unequivocal choice impossible."
    • "The assessment of reliability varies from one study to another. The non-statistical significance of the differences of readings between thermometers and observers (Farnell et al., 2005), the intra-observer reproducibility using repetitions of the measurements based on variance analysis (Giuliano et al., 1999), the magnitude of the difference between readings according to the standard deviation (Erickson and Kirklin, 1993) or the correlation between readings as a measure of agreement (Myny et al., 2005) are all used as the criteria of agreement. All of these ways of assessing reliability are inadequate as the differences between readings may not reach statistical significance while still being substantial. The typical deviation of these differences only indicates their symmetrical dispersion in 68% of the sample and it is impossible for simultaneous measurements taken with similar instruments not to show a high degree of correlation." → any thermometer will correlate with others. The question is which one is closer to core body temperature, and there is no definite answer, because there is no single core body temperature...
    • Infra-red sensors are the worst... "the lowest degree of agreement is presented by the ear and the infrared frontal thermometers, while all the rest are acceptable on this point [...] When we use the ‘‘fever’’ and ‘‘no fever’’ classification of readings, according to the cut-off points for each thermometer in comparison with the core reference temperature, the concordance between readings on the same thermometer, intra-observer concordance and concordance between observers is poor for the infrared thermometers and adequate for all the rest."
    • BEST REVIEW: combine with https://www.gssiweb.org/en/sports-science-exchange/Article/monitoring-internal-body-temperature#articleTopic_5
      • DHF (dual heat flux or DHFM, at least 4 sensors, not just 2) and ZHF (zero heat flux) are promising but not validated yet, only rectal temperature is.
      • Predictive technologies from heartbeat or fusion sensor are promising (quick review of models in the article).
      • "The DHFM calculates internal body temperature based on the heat flow from the human body into a thermometer using at least four temperature sensors (Huang et al., 2016; 2017). Feng et al. (2017) reported that the difference of measured temperature between the DHFM and sublingual temperature was 0.13 ± 0.22°C at rest and 1.36 ± 0.44°C during exercise, while Huang et al. (2016) compared the DHFM to aural temperature. However, both the sublingual and aural temperature methods are not validated and are not the gold standard of internal body temperature assessment, and these studies have therefore not successfully demonstrated validation of the DHFM method."
      • "Common themes among published models include environmental temperature and humidity, skin temperature, and heart rate sensing requirements (Fiala et al., 2012; Kim & Lee, 2016; Niedermann et al., 2014; Richmond et al., 2015; Xu et al., 2013). The simplest models rely on only one or two measurements (Kim & Lee, 2016; Xu et al., 2013)."
      • "More recently, models which consider a more integrative approach to thermal physiology have emerged. These models rely on the interactions between physiological systems to reduce the requirements for multiple sensors and assumptions. Principally, among these models are those which rely on sequential heart rate measurements to represent the strong interaction between the cardiovascular and thermoregulatory systems (Buller et al., 2013; 2018; Laxminarayan et al., 2018)." → core body temperature approximation from heart rate, see also:
      • "These authors demonstrated that ZHF tracked internal body temperature as measured by esophageal temperature with almost no time delay during exercise (the ZHF temperature - esophageal temperature = -0.05 ± 0.18°C) and recovery (the ZHF temperature - esophageal temperature = -0.01 ± 0.20°C) (Teunissen et al., 2011). However, internal body temperature did not exceed 38.5°C in this study as well; thus, the validity of higher internal body temperature measurement by ZHF remains to be tested."
      • "In addition to the DHFM and ZHF methods, Ota et al. (2017) demonstrated a 3D printed “earable” smart device to measure internal body temperature with an integrated bone conduction hearing aid."
      • See also:
        • individualized measure of temperature, mixing heart rate and skin temperature: "we developed a mathematical model that describes the relationships between Tc and noninvasive measurements of an individual’s physical activity, heart rate, and skin temperature, and two environmental variables (ambient temperature and relative humidity). A Kalman filter adapts the model parameters to each individual and provides real-time personalized Tc estimates." https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6032092/
        • BEST: Predicting body temperature from heart rate only (ECTemp - temperature heart rate) is possible: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6567444/
    • BEST REF: Evaluation of Commercial, Wireless Dermal Thermometers for Surrogate Measurements of Core Temperature, 2019 https://pubmed.ncbi.nlm.nih.gov/30882250/
      • "All dermal thermometers rendered lower average temperatures than Terumo c405 (Feversmart -0.70 ± 0.65 °C; iThermonitor -0.77 ± 0.53 °C, Quest Temp Sitter -1.18 ± 0.66 °C, and Thermochron iButton -0.87 ± 0.65 °C). Sensitivity of the dermal thermometers for detecting core temperatures ≥38.0 °C was low, ranging from 0.33 to 0.6, but improved to 0.60 to 0.80 after adjusting temperatures by the methods' average deviation from rectal temperature. The results from the dermal thermometers tested here showed an insufficient correlation to core temperature to be used for core temperature monitoring in clinical research and practice. Unfortunately, other options for non-invasive temperature measurements are few. The two thermometers with the least unsatisfactory performance profile in our evaluations were the Feversmart and iThermonitor systems."
    • Ingestible pill vs oesophagal temperature vs rectal temperature: https://apps.dtic.mil/dtic/tr/fulltext/u2/a328003.pdf
    • "if you’re interested in looking at circadian rhythm, the core temperature begins falling shortly before typical bedtime but the wrist skin temperature would actually be rising because the main cooling mechanism is pumping the blood from the core to the extremities. Core temperature would be the most useful but as mentioned above hard to get. In research studies, the distal-proximal skin temperature gradient (ie hand-trunk difference) is used to get a proxy measure of circadian rhythm (brief review paper http://www.chronobiology.ch/wp-content/uploads/publications/2001_16.pdf 27)." https://forum.quantifiedself.com/t/wearable-body-temperature-tool/676/13
  • "From this viewpoint, an ear-inserted thermometer is not a good choice because its measurements are evidently influenced by the ambient environment. The infrared tympanic thermometer is able to reflect internal change but is sensitive to its positioning." https://www.hindawi.com/journals/js/2016/4828093/ - such as for example Earable...
  • BEST: zero-heat-flux/zero-heat-flow and double-heat-flux are resilient to ambient temperature: "One good alternative to the invasive methods is the zero-heat-flux method [2], which was improved by Togawa’s group [3] and implemented in the CoreTemp medical device (Terumo, Tokyo, Japan). It showed good agreement with distal esophageal temperature [4] and pulmonary blood temperature [5]. Developed with an inlaid heater, this device is considered to be stable (robust to changes in the ambient environment) and sensitive [5]." https://www.hindawi.com/journals/js/2016/4828093/ linking to: https://link.springer.com/article/10.1007%2Fs005400300026
  • BEST REF: Evaluation of Commercial, Wireless Dermal Thermometers for Surrogate Measurements of Core Temperature, 2019 https://pubmed.ncbi.nlm.nih.gov/30882250/
    • "All dermal thermometers rendered lower average temperatures than Terumo c405 (Feversmart -0.70 ± 0.65 °C; iThermonitor -0.77 ± 0.53 °C, Quest Temp Sitter -1.18 ± 0.66 °C, and Thermochron iButton -0.87 ± 0.65 °C). Sensitivity of the dermal thermometers for detecting core temperatures ≥38.0 °C was low, ranging from 0.33 to 0.6, but improved to 0.60 to 0.80 after adjusting temperatures by the methods' average deviation from rectal temperature. The results from the dermal thermometers tested here showed an insufficient correlation to core temperature to be used for core temperature monitoring in clinical research and practice. Unfortunately, other options for non-invasive temperature measurements are few. The two thermometers with the least unsatisfactory performance profile in our evaluations were the Feversmart and iThermonitor systems."
    • digital clinical thermometer: Terumo c405
  • BEST REF definition of zero-heat-flux ZHF and dual-heat-flux DHF: Continuous Core Body Temperature Estimation via SURFACE Temperature Measurements using Wearable Sensors, Is it Feasible? https://cps.iisc.ac.in/wp-content/uploads/2017/10/BIODEVICES_2014_42.pdf
    • "One of the earliest efforts to develop a sensor for core body temperature measurement from surface measurements has been based on zero heat flow method (Fox, Solman, Isaacs & MacDonald 1973). The method uses a heater to create a zone of zero heat flux such that the skin temperature under the sensor reaches the core temperature. Studies have shown the effectiveness of this method except during exceptional rapid cooling or heating as the response time is around 15 to 20 minutes when applied to forehead (Togawa 1985). There have been other attempts to evaluate the effectiveness of this scheme for different applications (Zeiner et.al. 2010) (Teunissen et.al. 2011). However, the use of a heating element creates problems for applications which involve mobility and require low power consumption. New technique which does not involve the use of heater and is based on a double sensor has been reported for monitoring heat strains (Gunga et.al. 2008) and also for space applications (Gunga et.al. 2009). The design uses two temperature sensors separated by an insulating layer whose thermal conductivity is known. By measuring the skin temperature and the temperature at the upper sensor and knowing the thermal conductivity of human tissue, the core temperature can be calculated. However, this technique still requires the correct knowledge of the thermal conductivity of the epidermal tissues where the sensor is placed. Another solution has been proposed using two heat flow channels in parallel (Kitamura, Zhu, Chen & Nemoto 2010). This work avoids the dependence on knowledge of the thermal properties of tissue below the sensor. Its performance has been compared to the zero heat flux method. Further work has been presented to improve the response time (Sim, Lee, Baek & Park 2012). These present interesting ideas for use in continuous monitoring applications."
    • "Another important aspect that has not been studied so far is the use at a measurement site other than the forehead. If the sensor can be used at a location between the abdomen and chest, it can be coupled with other vital parameter measurements on a single sensing device. However, the layer of adipose tissues is significantly lesser for neonates and hence data obtained on adults and neonates could vary."
    • "Another very important aspect for future work is to develop a good model incorporating multiple tissue layers and blood perfusion using Penne’s Bioheat equations instead of simple heat transfer models. It could be interesting if some of the parameters can be learnt from data obtained through continuous measurements and be able to predict conditions like increased blood perfusion due to exposure to cold and compensate for differences in core temperature measurements. It would also help in validating the assumption that the effective thermal resistance of tissue below the sensor is same for both parallel heat flow channels."
  • Infrared skin temperature is -1°C compared to core temperature using an ingested e-pill! https://academic.oup.com/ajcn/article/90/5/1124/4598066
  • BEST STUDY: TEMPERATURE MONITORING WITH ZERO HEAT FLUX TECHNOLOGY IN COMPARISON WITH THERMOCOUPLE NEEDLE PROBE DURING SELECTIVE HYPOTHERMIA, Mohammad Fazel Bakhsheshi et al, 2018
    • "ZHF thermometry’s ability to measure temperature up to a depth of approximately 2 cm makes it a useful non-invasive tool for brain temperature monitoring.[6, 7]"
    • For consciousness preservation: "Hypothermia (brain temperature < 35°C) shows great promise to minimize neural damage in patients with cardiopulmonary arrest and traumatic head injuries.[1, 2] However, cooling the whole body below 33-34°C can induce severe complications.[3] Arrhythmia, infection and primary coagulopathy are the most commonly noted complications.[3] We have developed a Selective Brain Cooling (SBC) approach which can be initiated early after injury, induces rapid cooling and maintains the target brain temperature over an extended period of time before slowly rewarming without significantly affecting the core body temperature.[4] In our experiments, brain temperature was measured invasively by inserting a thermocouple probe into the brain parenchyma, which measured brain temperature accurately but is invasive, making it unsuitable for most patients. Invasive intracranial probe also can have complications such as intracranial hemorrhage or hematoma and infection.[5]" → melatonin also decreases temperature (but not to this extent), maybe beneficial for this reason too?
    • zero-heat-flux works better where skull thickness is thinnest and there is cerebral tissue (no air or fluid) at 2cm below (can check on CT scan or MRI): "Several factors contributed to this discrepancy. One factor was the skull thickness which was the thinnest at location #2 as verified by CT images (Fig. 1). Second, at location #2, the region underneath the Bair HuggerTM sensor was all brain tissue without the presence of air in the sinuses or extracranial tissue. The error in the Bair HuggerTM sensor is caused by admixture of brain tissue, air and extracranial tissue in its monitoring region. This could explain the greater temperature difference between the intracranial thermocouple probe and Bair HuggerTM sensor at location #1 and #3."
    • "The difference between a positive patient outcome and a complicated recovery can be a matter of degrees. Unintended perioperative hypothermia is a frequent, yet preventable, complication of surgery. It can increase the rate of surgical site infection (SSI),¹ extend recovery time² and length of stay,¹ and increase mortality rates.³" https://www.bairhugger.com/3M/en_CA/bair-hugger-ca/
  • Ingestible pill vs oesophagal temperature vs rectal temperature: https://apps.dtic.mil/dtic/tr/fulltext/u2/a328003.pdf
  • "if you’re interested in looking at circadian rhythm, the core temperature begins falling shortly before typical bedtime but the wrist skin temperature would actually be rising because the main cooling mechanism is pumping the blood from the core to the extremities. Core temperature would be the most useful but as mentioned above hard to get. In research studies, the distal-proximal skin temperature gradient (ie hand-trunk difference) is used to get a proxy measure of circadian rhythm (brief review paper http://www.chronobiology.ch/wp-content/uploads/publications/2001_16.pdf 27)." https://forum.quantifiedself.com/t/wearable-body-temperature-tool/676/13
  • The technology underlying the GreenTEG CORE and Calera devices were initially developed for the predecessor gSkin BodyTemp sensor (see also here) with European research fundings under Horizon2020: https://scanr.enseignementsup-recherche.gouv.fr/project/835831 and https://cordis.europa.eu/project/id/835831/ and https://doi.org/10.3030/835831
  • The underlying heat flux sensor technical specifications are described here (thanks to Dialectical_Warhead!), and it is worth knowing that "due to variations in the production process, each sensor has a different sensitivity. Every sensor is characterized at the factory and assigned to a bin according to its “raw” sensitivity value (factory sensitivity)."


Alternatives:

  • 3M SpotOn, most validated zero-heat-flux technology on forehead, lots of papers and institutions validating the method: http://cedit.aphp.fr/hospital-based-hta-levaluation-de-technologies-de-sante-a-lhopital/dispositif-de-mesure-de-la-temperature-corporelle-spoton/ and https://multimedia.3m.com/mws/media/878163O/spoton-system-brochure.pdf - $275 in second-hand! https://med.equipment/3m-spoton-37000-p-n-370060-temperature-monitoring-system-monitor-9365.html - not a wearable because need a monitor on the bedsite
    • New name: 3M Bair Hugger Temperature Monitoring, it was renamed from SpotOn in 2016: https://www.nice.org.uk/advice/mib99/resources/bair-hugger-for-measuring-core-temperature-during-perioperative-care-pdf-63499476790213
    • VALIDATION: by UK NICE: https://www.nice.org.uk/advice/mib99/resources/bair-hugger-for-measuring-core-temperature-during-perioperative-care-pdf-63499476790213
      • "The cost of the Bair Hugger temperature monitoring system is £250 per unit (provided at no extra cost if enough consumables are bought) and the single-use sensors are £7.46 (exclusive of VAT). The resource impact is likely to be similar to standard care. Invasive measures that directly estimate core temperature cost between £2 and £7 for single-patient use and between £103 and £160 for re-useable devices."
      • "The control unit shows the patient's current temperature and a graphical display of up to 2 hours of previous temperature data. The current temperature can also be displayed on a patient vital signs monitor if connected by the optional cable. "
      • How zero-heat-flux works, in layman terms: "The single-use sensor consists of a thermal insulator next to the skin that is covered by a flex circuit containing a heating element. The temperature of the sensor is regulated by the Bair Hugger temperature monitoring system in the control unit. The thermal insulator is designed to prevent heat loss to the environment. This establishes an isothermal pathway under the sensor, bringing the core temperature to the skin surface and enabling the temperature to be recorded and monitored. The sensor takes several minutes to reach this temperature balance. "
      • "The company claims that by using a single sensor that stays on the patient, any variability in measurement between different healthcare professionals or monitoring devices is avoided."
      • "Seven studies are summarised in this briefing, including over 513 patients (1 study did not report the number of patients and so the exact total is not clear). All studies compared the Bair Hugger temperature monitoring system with either invasive core temperature monitoring or minimally invasive temperature monitoring. The level of agreement between the devices was high. The manufacturer has re-branded the device since these studies were published but there have been no changes to the technology itself (previously known as SpotOn)."
    • Another clinically validated zero-heat-flux sensor, used for surgeries: Terumo CoreTemp CM-210
    • Alternatives: Draeger TCore, another zero-heat-flux sensor.
  • BEST: DIY Zero-Heat-Flux sensors:
    • Foam-based sensor instead of sticky patch: https://doi.org/10.1109/BSN.2018.8329661
    • https://doi.org/10.11239/jsmbe.55Annual.221
    • BEST TOSEE: infrared temperature sensor mimicking results with zero-heat-flux? An IR Sensor Based Smart System to Approximate Core Body Temperature, 2017 https://doi.org/10.1007/s10916-017-0770-z
    • BEST METHODS: "The theoretical analysis and the mockup experiment suggested that the height and radius of the probe of the DHFM-based thermometry would influence its accuracy. The general conclusion was that higher (or larger) probes are better [12]. Therefore, we fabricated the probes on the basis of this conclusion. The radius was set as 22.0 mm, with two heights: 9.0 mm (fit type) and 15.0 mm (standard type) (Fig. 2 (b)). A radius of about 20 mm was considered suitable for applying to the body surface including limbs. While a height of 15 mm would provide better accuracy, the shorter one (9 mm) would be easier to wear. For both types, an initial time of about 20 min to establish heat equilibrium is needed due to the low heat conductivity of the chloroprene rubber." + mathematical equations and how to design the sensor to be easier to calculate: https://doi.org/10.1109/JBHI.2016.2532933
  • GreenTEG Core Heat Training Suit: alternative to sauna blankets to artificially increase core body temperature. Sold at 29 CHF https://corebodytemp.com/collections/products/products/core-suit

Wrist skin temperature


  • dimensions of the iButton:

Actigraphy

  • Polar Pro H10 already includes a 3-axis actigraphy, but worn on the chest (measures are more commonly done on the non-dominant wrist/arm in the scientific literature, so that these previously published models and tools may not work for chest acquired actigraphy, or may be much more inaccurate, especially at detecting sleep-wake status).
  • Axivity AX3 or AX6 actigraphy, only 109 pounds (without strap, it costs 10 pounds more with) without VAT: https://axivity.com/product/ax3 and https://pubmed.ncbi.nlm.nih.gov/28976493/ and https://axivity.com/product/wrist-band
    • Pros: 3/6 axis accelerometer actigraph respectively for AX3 and AX6, ambiant temperature (not skin temperature), light sensor (photopic = light level only), inexpensive price, long battery (30 days at 12.5 Hz or 14 days at 100Hz - In our own tests, the battery lasts ~10 days at 100Hz), easy connectivity (micro USB - no need for docking station, OmGUI app to download data is free), opensource, waterproof (including swimming).
    • Cons: lower light accuracy (only lux)... But it's there at least.
    • Open-source hardware, all softwares and hardwares are fully documented: https://github.com/digitalinteraction/openmovement
    • DATASHEET:
    • Exist in 6 axis accelerometer actigraph (with rotation in addition to translation) with AX6! That's the first time I see that! https://axivity.com/product/ax6
      • Pros: 34 days at 50 Hz 3 axis or 7 days at 100 Hz with 6 axis! Or 140 days at 12.5 Hz!, light sensor better than GENEActiv because no infrared impact so better calibrated but smaller lux range and no resolution info (470-650 nm vs 400-1100 nm, 3-1000 lux vs 0-3000 lux, no resolution info vs 5 lux but check Broadcom APDS9007 sensor it's the one used in AX3/6 - according to sensor doc it's 3-70K lux!)
      • Cons: no RGB/chroma light (but it's very rare)
    • BEST REF: SMART IDEA! Combine with iButton fixated on the wristband on radial artery to get skin temperature! or can use a zero-heat-flux sensor such as GreenTeg gSENSE - Wei, J., & Boger, J. (2019). You are how you sleep: Personalized sleep monitoring based on wrist temperature and accelerometer data. In 13th EAI International Conference on Pervasive Computing Technologies for Healthcare-Demos and Posters. European Alliance for Innovation (EAI). https://doi.org/10.4108/eai.20-5-2019.2282879
      • BEST METHOD: "Ortiz et. al. (2014) proposed a method that integrates temperature and accelerometer sensor data together to determine circadian phase. They calculated several phase markers by combining accemetry data and wrist temperature data using non-parametric methods. Specifically, by comparing the phase calculated from wrist temperature and the phase of DLMO, they found that wrist temperature can effectively predict circadian phase." https://doi.org/10.4108/eai.20-5-2019.2282879
      • "our study aims to develop an integrated wristband that uses machine learning to evaluate sleep based on each individual’s circadian rhythms."
      • "As there are no available open-data wristbands with a temperature sensor that can measure the temperature of radial artery location, we built our own wristband by modifying a off-the-shelf accelerometer data logger Axivity AX3 sensor (Axivity, York, UK; 100Hz, ±8д, weight: 9g) to include an iButton DS1922L temperature sensor (Maxim, Dallas, US), as can be seen in Figure 1."
    • BEST: well-validated, used by most researchers and particularly in UK BioBank, hence if using AX3 or AX6, can use UK BioBank as a huge controls dataset! Or to test my algorithm to find potential undiagnosed non24!
    • BEST: AX is opensource! https://github.com/digitalinteraction/openmovement/wiki/AX3
    • Possess error correction when downloading data! https://axivity.com/userguides/ax3/settings/#additional-sensors
      • "Most errors will be single bit errors (affecting a single accelerometer sample) and can in some cases can be ignored. There are two other possible means of removing these errors: error removal and error correction."
      • "Additionally, a battery life penalty of ~10% will be observed. Users are recommended to only use the error correction mode if data integrity must be guaranteed or longer download times are acceptable."
      • "To use the raw temperature values the user must convert the ADC values into ˚C using the following equation: T = (counts – 171) / 3.142"
    • BESTTUTO: how to wear the wristband: left of arm, whatever arm: https://www.youtube.com/watch?v=R8kqGg2pcwE
    • Ambient temperature analysis: https://academic.oup.com/jpubhealth/article/42/2/312/5479523
    • Comparison with ActiGraph: "As with the ActiGraph devices the AX3 also provides light (lux) measurements and have similar battery and recording durations. The AX3 also includes temperature measurements. Some of the more interesting differences between the two devices are size, weight and documentation. The AX3 physical size is almost four times smaller and with only half the weight of the GT3X+. The Axivity AX3 is based on an open source strategy and has full documentation transparency with respect to hardware blue prints, firmware and other software components (10). The detailed hardware and software information for the GT3X+ monitor is not disclosed to the end-user." Generating actiGraph counts from raw acceleration recorded by an alterantive monitor. 2017
    • Note also that there was a WAX9 (wireless actigraphic device with 9 directions), the most advanced open-source product they had and one of the most advanced actigraphic device, but this has been discontinued unfortunately. https://axivity.com/files/resources/WAX9_Developer_Guide_3.pdf
    • Made by Open Movement, Open Lab, Newcastle University https://digitalinteraction.github.io/openmovement/ and ncl.ac.uk

Light sensors

The three available and selected sensors are:

Adalogger + RTC module

A custom-made Arduino-based light sensor, can capture both light intensity and color. (Still under development - the hardware is available but not the software code to save measurements!).

  • METHODS:
    • BEST CRITICAL METHODS and idea: use 2 light intensity sensors, one normal for the full visible spectrum + one with a blue-green light filter, the difference of both sensors will show the amount of blue-green light that can modify the circadian rhythm! https://www.researchgate.net/publication/334043969_Determining_Light_Intensity_Timing_and_Type_of_Visible_and_Circadian_Light_From_an_Ambulatory_Circadian_Monitoring_Device
      • My summary: The idea is to use a sensor for full visible light + same but blue light filtered, so that we can infer directly the intensity of blue-green light exposure which affects the circadian rhythm, contrary to using a color sensor which will be biased and only indirectly allow to calculate the intensity of exposure to blue-green light! It's very similar to what I was trying to make!
      • "an algorithm that allows to determine light intensity, timing and circadian light stimulation by differentiating between full visible, infrared and circadian light, as well as to discriminate between different light sources (natural and artificial with low and high infrared composition) in subjects under free living conditions. The ACM device is provided with three light sensors: (i) a wide-spectrum sensor (380-1100 nm); (ii) an infrared sensor (700-1100 nm) and (iii) a sensor equipped with a blue filter that mimics the sensitivity curve of the melanopsin photopigment and the melatonin light suppression curve."
      • But why do they care about correcting infrared light??? To differenciate between the light source being natural or artificial:
      • "Here, we reported the spatial and spectral ability of a wrist worn ACM device provided with three light sensors that combines full spectrum, infrared and blue light simultaneous monitoring, allowing not only intensity and timing of visible and circadian light exposure to be evaluated, but also to infer light source and thus, differentiate between natural and artificial light exposure." → but no color detection! They only consider blue-green light exposure, but it's sufficient since it's the light that maximally stimulate the ipRGC cells! But using the other sensor we have access to the full spectrum anyway!
      • BEST CRITICAL: light sensor on the wrist does not make much difference in terms of detecting exposure to circadian light! (different from full light): "In order to facilitate the usability of the ACM device under normal living conditions, it has been designed to be worn on the wrist, discarding other placements closer to the eyes but much more uncomfortable for the subjects. Although, at first instance, it could be argued that this position could affect the accuracy of lighting measurements, previous studies by Figueiro et al. (2013) have shown that differences in active circadian light exposure are surprisingly small, typically less than 10% on average, when data at eye and wrist level are compared. Thus, light exposure measurement in other places than the eye seems to be also a reliable method when assessing circadian light exposure."
        • Original ref is the same one I use elsewhere: Figueiro, M. G., Hamner, R., Bierman, A., and Rea, M. S. (2013). Comparisons of three practical field devices used to measure personal light exposures and activity levels. Light. Res. Technol. 45, 421–434. doi: 10.1177/1477153512450453
      • BEST CRITICAL METHODS: technical details about the light sensors: "To record visible light (400–700 nm), a combination of two sensors is used in KronowiseR , one of full spectrum ranging from 400 to 1100 nm and another for infrared light (from 700 to 1100 nm). The combination of these two measures allows, on one hand, to differentiate whether light source is natural or artificial and among these, if light is provided by sources with high or low content in infrared radiation, or by the sun, as those light spectra shown in Figure 6. The circadianeffective light is detected thanks to blue filter covering a second full light spectrum sensor. The selected blue filter shows a transmittance profile to sunlight that is highly coincident both with the spectral inhibition curve of melatonin (Brainard et al., 2001) and with the model of melanopsin sensitivity curve of the ipRGCs (Enezi et al., 2011), letting pass visible wavelengths between 380 and 590 nm and above 680 nm. Thus, the “dose” of active circadian light to which the subject is exposed to can be calculated without inferences from combination of blue and green detectors, as it happens with Actiwatch Spectrum (Cao et al., 2015)."
      • Comparison between Kronowise, Daisymeter and Actiwatch Spectrum: "To date, and to our knowledge, only two ambulatory devices are available for the detection of visible and circadian light: the Daysimeter (Bierman et al., 2005) and Actiwatch Spectrum (Phillips)."
        • "The Daysimeter, a head-mounted device, has been specifically designed for detecting light exposure, so its performance in this field is very interesting; however, the device only includes an accelerometer and must be placed close to the eyes, limiting seriously its ability to detect sleep and wakefulness states. In addition, and although its light sensor shows a sensitivity curve restricted to the photopic spectrum, it shows a significant drop between 550 and 600 nm, a band to which the human eye is sensitive (Dartnall et al., 1983; Roorda and Williams, 1999)."
        • "The second device, Actiwach Spectrum, was primarily designed for detecting sleep and wake rhythms (Young et al., 2009; Kripke et al., 2010), and later incorporated RGB detection. This latter consists of three color sensors for light in the long wavelength (∼600–700 nm), middle-wavelength (450–600 nm) and short-wavelength range (∼400–550 nm), which correspond to R, G, B spectral outputs and a broadband “white light” (W) output (Price et al., 2012; Cao et al., 2015). However, its sensitivity spectrum does not match the one for the human retina. It shows a bimodal pattern, with a main peak at short wavelengths and a secondary peak at long wavelengths. In contrast, in the 570–600 nm band, the device is practically non-sensitive. This band, apart from its sensitivity of human retina, is characteristic of discharge light sources such as fluorescent lamps (Figueiro et al., 2013). Consequently, the photometric measurements of these common light sources will be systematically biased with this device and circadian light stimulation must be indirectly deduced from data recorded by blue and green sensors."
      • "Considering that the most powerful zeitgeber for circadian entrainment is the light-dark cycle (Roenneberg and Foster, 1997; Roenneberg et al., 2003), its simultaneous recording with other output signal seems a must to obtain an integrative assessment on the circadian function. In this sense, KronowiseR can constitute a useful and comfortable tool to deep our knowledge on light synchronization effects while people maintain their usual lifestyle."
      • Melanopic ratio (MR), Equivalent Melanopic Lux (EML) and Circadian Stimulus (CS) metrics: https://www.lightzoomlumiere.fr/article/rythme-circadien-etat-de-lart-metrique-de-loeil/
      • BEST CRITICAL: Melanopic illuminance defines the magnitude of human circadian light responses under a wide range of conditions, 2020 https://pubmed.ncbi.nlm.nih.gov/32248548/
        • "we analysed data from nineteen different laboratory studies that measured melatonin suppression, circadian phase resetting and/or alerting responses in humans to a wide array of stimulus types, intensities and durations with or without pupil dilation. Using newly established SI-compliant metrics to quantify ipRGC-influenced responses to light, we show that melanopic illuminance consistently provides the best available predictor for responses of the human circadian system. In almost all cases, melanopic illuminance is able to fully account for differences in sensitivity to stimuli of varying spectral composition, acting to drive responses that track variations in illumination characteristic of those encountered over civil twilight (~1-1000 lux melanopic equivalent daylight illuminance). Collectively, our data demonstrate widespread utility of melanopic illuminance as a metric for predicting the circadian impact of environmental illumination. These data therefore provide strong support for the use of melanopic illuminance as the basis for guidelines that seek to regulate light exposure to benefit human health and to inform future lighting design."

Lys Button

Lys Button is a light sensor designed specifically by and for circadian rhythm researchers: https://lystechnologies.io/for-research/

  • costs 151 pounds (without shipping) per person per year (96 pounds for the yearly renewal, the initial higher price includes one Lys Button sensor) and access to the Data Platform to get access to the raw data. Select the Lys Plan > Research > LYS Light Diet® app and Data Platform. https://lystechnologies.io/pricing/
  • It is already photocalibrated.
  • Can capture mLux (melanopic Lux), lux, color spectrum (red, blue, green) and even 3-axis actigraphy.
  • Already used by other circadian rhythm researchers.
  • Can be clipped on clothes, or worn as a pendant if I make a custom support.
  • Originates in a 2017 Kickstarter project.
  • Thank you to Coral for the tip!
  • The Android app does not yet work, raw data is not sent. The iOS app works according to the manufacturer. They are currently investigating this issue (as of October 2021) but no ETA.
  • Internal storage capacity is 18h according to the manufacturer, hence data must ideally be transferred twice a day in bluetooth via the app (every 12h).
    • But from practical tests (by waiting without transferring data, we can know how long the device can record and when it starts erasing old data), we rather estimate the internal data storage to be up to 37h32min of on-device memory, with roll-over (old data is overwritten), when using the Track tab in the iOS app to download data from the Lys button and concurrently upload to the cloud.
    • On the other hand, when using the Now > Connect to Lys function in the app, it appears to only store the last 8-12h of data with no rollover, so once the 8h are exhausted, no new data is recorded on the Now > Connect to Lys dedicated storage space on-device - as it seems to be a different memory storage space than for the Track, which implements rollover. For example, we stopped transferring data from 2022-02-14 at 2:00 until 2022-02-16 21:40 to test the internal storage capacity, and when using the Now > Connect to Lys function, data between 2022-02-14 2:00 to 2022-02-14 10:00 got uploaded, but nothing beyond. Then, using the Track function in the app, data from 2022-02-15 8:08 to 2022-02-16 21:40 got uploaded, hence a 37h32min of internal storage (on-device, not in the phone's memory) for the Track function.
  • Battery lasts 7 full days according to our own tests, then it requires a 100% recharge.
  • Technical specs: https://lystechnologies.io/help/
    • "Spectral range of the LYS Button: LYS is an RGB sensor with a spectral range from 350-750nm.
    • Intensity range of the devices have in lux: 0-100.000 Lux.
    • Units of measurement and definition metrics:
      • Kelvin: Colour temperature measured in Kelvin
      • RGB: Counts/μW/cm^2
      • Lux: Light intensity measured in Lux
      • Movement (3-axis accelerometer): Proxy for activity. Count the number of times acceleration exceeds 0.1875g (g=gravitational force) in any of the 3 axis over the logging time interval
      • mLux: melanopic lux, α-opic equivalent daylight (D65) illuminance with spectral age correction"
    • Additional technical specs: https://lystechnologies.io/for-research/
      • "7 days battery life on a single charge"
      • "15 seconds sampling rate"
      • "Water and dust resistant, for everyday use"
  • SPECS: https://lystechnologies.io/help/
    • Spectral range of the LYS Button: LYS is an RGB sensor with a spectral range from 350-750nm.
    • Intensity range of the devices have in lux: 0-100.000 Lux.
    • Units of measurement and definition metrics:
Kelvin: Colour temperature measured in Kelvin
RGB: Counts/μW/cm^2
Lux: Light intensity measured in Lux
Movement (3-axis accelerometer): Proxy for activity. Count the number of times acceleration exceeds 0.1875g (g=gravitational force) in any of the 3 axis over the logging time interval
mLux: melanopic lux, α-opic equivalent daylight (D65) illuminance with spectral age correction

Luminette usage history via Bluetooth

  • A new batch of Luminette v3 destined to the American market is integrating a usage history feature that can be collected with a new app (not the ones on the app stores) via Bluetooth, although it works only on iOS 14+. As of February 2022, this feature (and app) is still experimental and only available to selected researchers and partners, so this is not accessible to consumers.
  • Luminette usage history is necessary to complement cloth or pendant-worn light sensors such as LYS, as they are too far to sense the light from Luminette, and hence cannot track the usage (duration and timing) of light therapy.
  • Alternative: light therapy usage could be monitored manually by the user simply writing down the time of start/end of each light therapy session in a file. An easy solution is to use a spreadsheet. A semi-automatic and faster solution would be to use a "tapper" software to start/stop tracking at the tap of a button, which is the goal envisioned for the Circalog software (still in development).

HOBO Pendant

  • HOBO Pendant Temperature/Light Data Logger UA-002-64 (Onset Computer Corporation, Bourne, Massachusetts, USA), acquire only light intensity (and with a bigger range than human eyes), not color
    • https://www.onsetcomp.com/products/data-loggers/ua-002-64/
    • Price: 59.55 euros only!
    • Battery is replaceable! "The logger requires one 3-Volt CR-2032 lithium battery. A new battery typically lasts one year with logging intervals greater than one minute. Deployments in extremely cold or hot temperatures, or logging intervals faster than one minute, may significantly reduce battery life. Continuous logging at the fastest logging rate of one second will deplete the battery in as little as two weeks." For combined light and temperature sensing! https://www.onsetcomp.com/files/manual_pdfs/9556-M UA-002 Manual.pdf
    • See figure D, spectrum captured is much wider than eyes... need to add a passband filter for the wavelength range of human eyes. https://www.onsetcomp.com/files/manual_pdfs/9556-M UA-002 Manual.pdf
    • TODO:
      • need to add an optical filter to reduce the light wavelength range to humanly observable light only (ie, remove UVs and infrared)
      • buy the PC USB adapter to transfer data (which incurs an additional cost)
    • "This miniature data logger can record temperature and relative light levels. Complete with waterproof casing, this product is designed for indoor, outdoor, and underwater deployment. This model can store approximately 52,000 measurments of 10-bit readings. Use a solar radiation shield for accurate temperature measurement in sunlight. See RS1 Solar Radiation Shield (assembly required) and M-RSA (pre-assembled) Solar Radiation Shield. Note that using a solar radiation shield prevents the use of the light sensor."
    • "Data readout in less than 30 seconds via fast Optic USB interface" → very good idea, faster and more reliable than bluetooth!
    • "The UA-002-64 data logger supports the following measurements: Light Intensity, Soil Temperature, Temperature and Water Temperature"
    • So it only acquire light intensity, and in a range greater than human eyes (150-1200 nm). No color. But does acquire ambient temperature too simultaneously.
    • Sampling rate: one sample every 30s.
    • Used in this incredible PhD study:
      • "According to the manufacturer specifications, the data logger has a measurement range between 0 and 320,000 lux, memory capacity for up to 28,000 values taken at regular, previously programmed intervals (in our case, every 30 s), and light-spectrum wavelength recording capacity of 150-1200 nm, which is broader than the sensitivity of the human eye. In order to validate the light sensor, a LX 101 lux meter (3E NDT, Pasadena, Texas, USA) was used to make a set of simultaneous recordings in different environments (data not shown). Readings from both devices demonstrated a strong, significant positive correlation at different intensities (r=0.997, p<0.01). A high degree of repeatability of sensor measurements was observed when recordings were simultaneously performed with two different Hobo sensors (r=0.998, p<0.01)."
      • BEST METHODS: "Participants were instructed to wear the lux meter over clothing and to leave it on the bedside table during sleep. To compare the light exposure of our subjects to the natural sunlight cycle, environmental light intensity was recorded for 1 wk in the same area and for the same experimental period. To do this, a Hobo sensor was placed outdoors, facing North in a shady location to avoid direct light irradiance."

Smartphone camera

  • BEST CRITICAL: Smartphone-based measurement of the melanopic daylight efficacy ratio, Lucassen et al, 2019 https://www.semanticscholar.org/paper/Smartphone-based-measurement-of-the-melanopic-ratio-Lucassen-Sekulovski/2b2c9cb88f8e7d4de23fbeba7c64b30d97a85728
    • "To estimate the effects of light on the circadian rhythm (as mentioned in the Introduction), knowing the melanopic DER for a light source is not enough. The melanopic DER is a ratio, a dimensionless number, and is independent of the intensity of the light. To calculate the ‘melanopic illuminance', the melanopic DER needs to be multiplied with the illuminance level. Here we show that the illuminance can be estimated from the smartphone camera parameters which are stored as metadata with an image file."
    • Tested with iPhone SE, Huawei P20 and HTC One A9.
    • Melanopic illuminance can only be calculated with RAW images. But melanopic DER can be calculated from JPEG.
    • "What needs to be checked, though, is how the method performs under more widely varying changes in illumination, both spectral changes and illuminance levels. Perhaps a more sophisticated colorimetric characterization approach is needed, like worked out for a set of digital cameras [5]."
    • "With less than 3% average error in the RAW measurements for the two most recentsmartphones, this is already more than enough to measure relevant differences in practical lighting situations."
    • They made an Android app but did not release it.
    • It seems a similar algo is implemented in the Lys app on Android, in the menu enable Camera mode, and it will evaluate ambient lighting and its effect on the circadian rhythm from the camera (although it seems to overestimate a lot compared to the sensor). Not sure this mode is accessible without a Lys button. https://play.google.com/store/apps/details?id=uk.co.lystechnologies.lys (mirror)

Sleep diary

Although the sleep diary is not a completely objective metric, it is not a subjective metric either, and it can provide very valuable information about the sleep-wake pattern with little to no cost. The sleep diary can also be used by the subject to provide in-context feedbacks, such as by commenting or labelling sleep sessions with various events that happened to them, eg: alcohol intake, coffee intake, noise or other disturbances, how they felt before and after sleep, etc. In addition, the sleep diary can be generalized to track any periodic event, and hence provide further invaluable information, such as meal timing, light therapy duration and timing, etc.

  • Sleepmeter Free (link), and its Widget, for Android only. Easy to export and post-process, easy to edit and log by the participant, easy to get sleep graphs for both the user and experimenter to draw first intention inferences.
    • Note: Sleepmeter Widget does not work correctly on Android 10+: if it doesn't switch from sleep to wake or inversely when tapping on the widget, then it's necessary to open the app, then minimize it and then try to tap again, then switching states should work. This appears to be because newer Android versions do not allow widgets to update data in sqlite databases. It appears the app will stop functioning sooner or later. If you know how to program in javascrit/typescrit/react-native, please help us make an open-source digital sleep diary app to replace Sleepmeter, see the circalog project for more infos, a sketchboard and a relational database graph are available.
  • Circalog (in development, will be used for v2)
  • Paper sleep diary template to print. The AASM sleep diary template is recommended. Cumbersome to post-process, disadvised.

Sleep stage scoring (alternative to EEG polysomnography)

New devices using artificial intelligence / machine learning may be able to provide a proxy measure for sleep stages (ie, sleep stage scoring), by using multiple vitals data such as combining heart rate, heart rate variability, blood oxygenation, skin temperature, actigraphy, etc. This is not a necessary tool for circadian rhythm research, but still valuable to evaluate more accurately sleep efficiency and hence some potential consequences of circadian misalignment.

Type: Int
Range: 1-100, or 0 if not available.
Represents circadian alignment's contribution for sleep score. Sleep midpoint time (sleep.midpoint_time) between 12PM and 3AM gives highest score. The more the midpoint time deviates from that range, the lower the score. The weigh of sleep.score_alignment in sleep score calculation is 0.10.
16 individuals who wore both iButtons and Oura Rings for a week were able to show that Oura continued to match the performance of iButtons (r² > 0.92) throughout their full spectrum of life events including exercising, showering, cooking, working, etc.
In an analysis that included iButton sensors worn on the finger, as well as an 'environmental sensor' that traveled with these same 16 participants, the results revealed that while the Oura Ring and finger iButton match at 92% (r² > 0.92), temperature information from the finger is uncorrelated to the environmental temperature; 0.1% (r²=0.001). "

Acoustic monitors - audio recorders

Oxygenation (O2)

  • Wellue SleepU Oxygen Monitor, 72h of battery, all data can be downloaded in CSV:
  • List of oximeters compatible with OSCAR, a tool to export and analyze data from sleep apnea CPAP machines: http://www.apneaboard.com/wiki/index.php/OSCAR_supported_machines
  • Pediatric oximeters:
    • MASIMO SET is the gold standard for oximetry in newborns, who have a lower perfusion index and prone to motion, which makes it very difficult for standard oximeter to capture a reliable signal because it is very weak. MASIMO SET improves the readings by correcting for low perfusion and motion noise. But it's a proprietary expensive system, only used in hospitals. https://www.masimo.fr/solutions/acute/newborn/
    • Alternative: Nellcor:
    • BEST: Alternative: Creative Medical (chinese medical devices producer) Oxy-110 / SP-20 with MoveOxy technology, a copycat of MASIMO SET, it also corrects for low perfusion and motion noise, but is much less expensive (200-300 euros, including neonatal Y-probes in velcro). Includes a big internal storage memory card (can record up to 480h), can run on battery or plugged on AC and record all the time. It is a medical-grade neonatal oximeter (can also be used for children and adults with other sensors).
      • Oxy-110 / SP-20 is cheaper than other devices because it is not yet validated by FDA (as of 2022) as a medical device, contrary to other of Creative Medical's products. Price may increase once the device is cleared for medical use. This was used by the current document author's to monitor a 3 months old infant affected by COVID-19. There are several resellers rebranding/whitebranding Creative Medical's devices, including GIMA Italy, a well known medical devices reseller. They can also be bought directly and more cheaply usually directly from Creative Medical on Alibaba (the full company name is Shenzhen Creative Industry Co., Ltd.). Oxy-110 and SP-20 are the exact same product, just under two different products IDs depending on the reseller. Make sure to get the velcro y-probes for neonatal use, otherwise the oximeter is often provided with other kinds of probes that are inadequate for neonates.
        • Note that one issue with oximeters with algorithms for low perfusion and anti-motion noise correction is that they cannot be validated with spO2 simulators such as Bio-Tek's, as can be read in the manual (freely accessible online). This is normal, because the algorithms make them work differently with simulators comparet to real human samples.
        • Comparison with non MoveOxy devices from Creative Medical: low perfusion works down to 0.4% instead of 0.6%, 260g with battery instead of 60g, SpO2 simulators (functional SpO2 testers) can't be used (probably due to MoveOxy algorithm).
        • All fda approvals for creative medical https://fda.report/Company/Shenzhen-Creative-Industry-Co-L-T-D
      • They also produce lots of other cheaper oximeters but still medical-grade, FDA and CE approved: PC66A and PC60F with MoveOxy technology too. PC68B / PC60E can also be an interesting alternative. pc68b is fda and ce approved, whereas pc60e only ce approved not fda. Both tested with spo2 bio-tek simulator. Pc-60nw / GIMA Oxy-10 fda approval https://fda.report/PMN/K120502
      • Creative Medical usually make oximeters that are much cheaper than competition while still being medically approved. These devices are much better than those sold to consumer (eg, on Amazon), both in terms of accuracy and price tag. For example, Wellue often sublicense Creative Medical lowest grade and chapest devices but resells at a much more expensive price tag.
    • 2020 review of baby vital signs sensors https://doi.org/10.15406/jteft.2020.06.00239
      • "Finally, a pulse oxygenation measurement (SpO2) can be calculated based on Beer-Lambert’s law."
    • BEST VALIDATION STUDY: "wrist and ankle can be used as alternative sites to measure SpO2 in newborn infants in place of the routinely used palm or sole" https://doi.org/10.1038/jp.2011.90
    • How do SpO2 readings change in the first few minutes after birth? https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2675297/
Does the type of oximeter alter the SpO2 results?
Early oximeters had motion artefact.5,16,18,19,20,24 This has been improved in newer oximeters.25,33 To determine whether the newer oximeters were more reliable than earlier models in the delivery room, Kopotic compared the Masimo SET to the Nellcor Oxismart, with sensors placed on each foot, in 15 newborns of <30 weeks' gestation.25 The Masimo SET provided data for 350 of 362 (96%) min, and the Oxismart provided data for 212 of 362 min (59%; p = 0.0014).25 Leone and Finer9 recommended that oximeters used during neonatal resuscitation should have “minimal averaging time for the SpO2 values coupled with maximum sensitivity”. The combination of these features allows rapid detection of changes in SpO2 and improved SpO2 measurement during periods of low perfusion.34

Other data loggers

  • XDrip+, open-source glucose logging app compatible with Contour
  • OSCAR, open-source CPAP analysis reporter

Wearables for research

Wearables conception, calibration, cleaning and donning procedure


General procedures for all wearables

  • Method: how to avoid superficial skin damage with wearables:
    • BEST CRITICAL: Move wearable belt up or down every day and before sleeping and anytime whenever the wearables feel itchy. This is necessary to avoid moisture-associated skin damage and reduce itchiness when worn 24/7. In practice this was found to be the most effective strategy, allowing to wear the wearables for a virtually unlimited length of time. It's also necessary to clean up the wearables with a tissue imbibed in alcohol from time to time (about once a week).
      • Also avoid tightening belts too much. The more pressure, the faster skin will be damaged or itchy. The sweet spot is tightening just enough to ensure reliable and robust skin contact with the sensors, but not more than that.
      • It's necessary to re-do this procedure anytime the wearables feel itchy. The sooner the wearables are moved and pressure loosened, the less damage the skin will sustain. By taking on the habit of doing this as soon as itchiness feelings appear, it's possible to wear the devices continuously 24/7 (the author could wear the wearables continuously for 2 weeks).
      • Use this opportunity to check and re-position if necessary the sensors to ensure good skin contact (ie, the whole surface of the sensor must be in contact with the skin). Checking and repositioning sensors must become a regular habit.
    • BEST CRITICAL: Avoid using sticky-based patch wearables or tape-based wearables, as adhesives will worsen irritation and are thus inadequate for continuous 24/7 long term wearing.
      • It's important to avoid any wearable that requires the use of medical tape or sticky gel patches/electrodes, as they may feel comfortable at first but will invariable produce a skin reaction after some time (usually a few days). For continuous wear, it's necessary to use wearables that can be in contact with the skin without any adhesive, such as by strapping a belt.
    • In practice, using both techniques above, wearables have been worn by the author for more than 2 years with rare skin irritation and no skin damage, despite having a sensitive skin prone to eczema. In addition, irritation got less and less frequent over time, as skin got used to be in contact for extended periods of time with the wearables. Hence, this wearing method should be comfortable enough for most people even with idiopathic skin conditions.
    • BEST CRITICAL: Can also use the same procedure orthotists recommend to progressively habituate skin and avoid skin damage by progressively lenghtening wearing time: first wear daily for a short timespan, eg, 1h worn, then 1h without, then 1h worn again, etc, and don't sleep with the sensors. Then, next day, lengthen the wearing time, by wearing 2-3h continuously before removing. Then on 3rd day, try to wear the sensor while napping. Then on 4th day, should be able to wear the sensors the whole day. Then on 5th day, wear the sensor the whole day and also while sleeping, just remove it 1h per 24h. Make sure during this whole process to check if there is any serious skin damage: any light redness is fine, but if the skin is getting violet or tiny red spots over a wide area, it may be necessary to discontinue and consult a doctor, as this can be a sign of infection or vascular damage (which is extremely rare). By day 7, you should be able to wear the sensors 24/7. Of course, you will still need to let your skin breathe a bit, but it should be enough to remove the sensors once weekly to transfer data and recharge batteries (in the author's experience, this is indeed possible and works very well, after a few weeks/months of skin habituation + by using the methods above to reduce risk of moisture and skin damage).
    • Other strategies that did not work as well:
      • Good but does not allow for continuous wear and cannot be applied to all wearables: Use silicone micropore because can be moved and retaped, for ibuttons.
      • https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7147274/
        • Not too much pressure, important to allow for blood circulation in the superficial skin layers.
        • "One study found that 52% of medical staff with hand eczema wash their hands more than 10 times per day.10 Long-term disinfectant use also influences the microbiota and changes the immune microenvironment on the skin surface, resulting in conditions such as eczema, fungal infection, bacterial infection, and allergic dermatitis."
        • "Adequate cleaning and moisturizing are the basis of skin barrier maintenance. An appropriate cleaning frequency removes dirt, bacteria, and some sweat and oil from the skin surface, which reduces the irritation caused by their long-term presence and reduces the risk of infection. Adequate moisturizing helps maintain the moisture content of the corneum, maintains the “brick-wall” structure of the epidermis, and facilitates cell self-repair.18 Basic moisturizing usually consists of two categories: the application of a water-soluble moisturizer (including glycerin and sodium hyaluronate) that supplements natural moisturizing factors to lock in moisture,19 and the application of squalane, mineral oils, and various natural oils to replenish sebum, which forms an oil film on the skin surface to prevent water loss. People with rich sebum in a closed equipment environment should use water-soluble moisturizers to prevent excessive oil from blocking the pores and causing acne."
        • "Acne treatment: Apart from wearing appropriate PPE and avoiding prolonged use, general treatments include: proper skin cleansing, a reasonable selection of skincare products (mainly water-soluble moisturizers and no hormones), a low-sugar diet, and avoidance of squeezing pimples with the hands."
        • WARNING source may not be very reliable: "Traditional Chinese medicine or photodynamic therapy can also be used."
      • https://www.researchgate.net/publication/319008444_Understanding_Moisture-Associated_Skin_Damage_Medical_Adhesive-Related_Skin_Injuries_and_Skin_Tears
      • Essayer de mettre une compresse en dessous pour absorber humidité !
      • Wearables change chestbelt position twice a day, at wake up and then before sleep.
      • Ibuttons with medical tape move every 1 or 2 days to the other armpit. With the silicone micropore tape, it's possible to reuse the same tape, it will still stick because no adhesive is used, it's based on pressure.
      • If itchy, don't hesitate to scratch gently and move the chest belt a bit. If the itchiness feeling is repeating, then it's a clear sign it's time to move the chest belt to another skin location.
      • For the chest belt any location on the chest as high as below the nipples or as low as the belly should work fine to acquire a sufficiently good ecg signal, as can be checked by looking at the graph and observing a QRS shaped complex.
      • It's the warmth and wetness and too tightness that causes skin irritation! https://www.muellersportsmed.com/blog/post/how-to-handle-skin-care-and-prevent-itching-when-wearing-a-brace
        • "No matter what kind of brace you wear, skin has a universal response to being warmed and confined over a long period of time. Eventually, you will find yourself fighting the urge to scratch."
        • "If your skin can't breathe because the brace is too tight, you can also bring on a heat rash or a sweat rash, which will appear and feel much like a rash and make wearing your brace more uncomfortably itchy in the future."
        • "For many braces, the material of the brace is not necessarily absorbent or breathable, but cotton is. A layer of soft natural cotton between your skin and the brace can reduce chafing and the risk of forming a heat/sweat rash at the same time."
        • "Apply Powder to Prevent Heat and Sweat Rash"
        • "If you are experiencing excessive sweating and a moist sweat rash or heat rash, many people have found that this can be alleviated with a gentle layer of powder. Apply either talcum powder or baby powder, which are similar, to your skin or the inside of the brace before wearing to help both suppress sweat and create a soft absorbing layer between your skin and the brace material. Others have found relief with lubricant like vaseline instead, but this will depend on your needs and the type of brace you're using."
      • Silicone does not cause allergies: https://lymed.fi/en/ufaqs/tuotteen-silikoninauha-aiheuttaa-ihoarsytysta-ja-nappyloita-onko-kyseessa-silikoniallergia-ja-miten-voi-ehkaista-sita/ "Based on literature, most of the reactions caused by silicones are non-allergic and non-specific. It is usually plain irritation, caused by skin’s properties, skin care products and hygiene – and the combination of them all. Individual elements, like pH of the skin, microbes, sweat, skin lotions and personal hygiene, can cause the irritation. Irritation can increase when sweating is more prominent – for example in higher temperatures. One can remove some of the irritation by cleaning the silicone band and the skin below it more frequently than before. The silicone band can be wiped clean several times a day. The skin below can be left lotionless."
      • If you still need to use adhesives, either use the ones provided by the sensor producer if they provide any with the sensor, or if not (eg, iButtons) use flexible/extensible and breathing adhesive medical tapes, such as 3M medical micropore silicone tape or Urgoderm.

Consumables

A few items must be renewed regularly:

  • Alcohol, necessary to clean everything.
  • Accessories for ECG Polar Pro H10:
    • Polar Pro Chest Strap must be renewed every 4-6 months (depending on wear/twisting), costs about 35-40 euros. When the app shows 0 bpm, or when the graphs do not show a clear stabilized ECG reading with regular heartbeats, after wearing the belt for a few hours, then the belt needs to be changed.
    • Battery CR2320 must be replaced once every 10 days.
  • Accessories for GreenTEG Core:
    • The velcro bands (for the DIY attachment system) wear down slowly and need replacement only about once per year. If the device is shared among multiple different patients, it needs to be replaced each time as it looks dirty fast since it captures fluffs from the chest belt, although if it is cleaned regularly with alcohol it isn't really.
  • iButtons:
    • if using the DS1925L variants, they can last several years, but once their battery is depleted, they must be replaced by new ones as they are not rechargeable. There are some papers showing how to manually replace the battery, but then the device is not airtight anymore and hence more prone to dysfunctions because of water.

Torso: Polar Pro chest strap with ECG and core body temperature sensors

CAUTION: the wearer must be instructed to not wear the CORE on the chest strap when they are ill with an explosive cough, such as those caused by COVID-19, as this can cause costal muscle tear that can take half a year to recover from. Indeed, although occurring very rarely, the physical restriction imposed by the chest belt and the solid plastic body of the GreenTEG CORE sensor can cause a costal muscle tear, which can cause pain and inability to wear the belt for months. For the record, this happened once over 2 years of 24/7 use to the author, only when ill with long covid induced by COVID-19 and not with other respiratory illnesses such as the common flu. Hence, it is better for the wearer to just avoid wearing the chest belt until they recover from the illness induced explosive cough, they will lose less acquisition time than if they have a muscle tear. Although a muscle tear is not a serious ailment and heals on its own, it takes a long time and is painful including during sleep.

Chest belt (Polar Pro Chest Strap)

  • Clean the Polar Pro chest band with a microfiber tissue with 50-70% alcohol, except the connectors on both the cheststrap and the H10, to avoid oxydizing them. See here for more infos.
  • When wearing it, adjust it vertically to overlap with either at the Xiphoid Process (about 6th costal cartilage, just below the pectorals — see the GreenTEG Core schema below) or alternatively just below, at the solar plexus.
  • Tip: Feel free to loosen or tighten the chest belt at various moments in the day depending on your body position, just ensure it is tight enough to stick to the skin all around your chest, but not so much that you feel a resistance when breathing. For example, while sleeping, you will likely need to tighten it up a bit especially when sleeping on the side, and loosen it when sitting. A good technique is to exhale, tighten the belt, then inhale and see if it's not too tight, if yes then untigthen a bit until you find the sweet spot between being comfortable while maintaining good skin contact even when exhaling. With experience, this adjustment is very quick to do, only taking a few seconds, and can be done almost unconsciously while attending to other tasks.
  • Tip: Feel free to move the chest belt up or down at various times of the day, especially when it starts to feel itchy. Do not wait if itchiness appears, as it will damage the skin (temporarily, but still it's better to act as soon as you feel itchiness).
  • Avoid twisting the latex (more solid) part of the Polar Pro chest band when removing it or attaching/detaching sensors, as the electrodes inside can be broken by twisting.
  • Durability and replacement rate: the Polar Pro chest band needs to be replaced about every 3 months under 24/7 use.

ECG Polar H10

  • Wear the Polar H10 as indicated by the manufacturer, by connecting it on the Polar Pro chest band.
  • Tip: avoid cleaning its metallic connectors with alcohol, as this can damage them according to the manufacturer.
  • Tip: to avoid the CORE overlapping one end of the electrode band, wear the H10 sensor shifted to the left quadrant of the torso. This will allow to leave more room to place the CORE on the right side of the chest without overlapping with the electrode band, and without any loss in ECG accuracy (since the heart is slightly oriented towards the left side of the torso).
  • Use a Bluetooth receptor to acquire the ECG data, such as a smartphone with a long battery, see the next section.
  • Durability and replacement rate: The Polar H10 sensor can be reused for years (at the time of this writing, it has been in continuous 24/7 use for 2 years).

Core body temperature with GreenTEG CORE

  • Attach the GreenTEG Core or the same belt as the Polar H10, on the side, just after the silicone electrode band. Position the CORE axially/apically, ie, on the side of the chest almost under the arm.
  • It's highly recommended to change the fixation system. The default one provided involves using plastic L dominos to fix the CORE outer ring on the chest belt, but this leads to mechanical breakage over time. The recommended alternative is to make a DIY velcro attachment system, which both improves measurements accuracy by increasing skin contact, and eliminates risks of outer ring breakage that can especially happen during sleep (as observed by the current document's author and others). Note this can also be done on an already broken CORE device (hence lengthening its longevity). Also it is recommended to wear it on a stretchable chest belt like the Polar Pro, instead of rigid ones as the default one it is delivered with.
    • How to make it: use a hooks-type velcro band (a strong one as used for mural supports, as it won't be in contact with the skin), vertically placed on the face facing the belt (ie, the face with the CORE brand marking), and use a sewable and skin-soft (eg, for babies, this side will be in contact with the skin from time to time) loops or loops-and-hooks type velcro band formed in a mobius loop to strap around the Polar Pro chest strap band, and then attach the CORE's velcro onto the mobius loop on the chest strap. This provide great comfort and improve skin contact and hence much more reliable measurements, and eliminates the mechanical pressure of the L dominoes as used in the manufacturer's instructions that eventually cause the CORE's outer ring to break. This technique can also be applied on already broken CORE devices.

  • ADDENDUM: if the loop tends to undetach, try to cut a longer band, so that the area where the two faces attaches on the mobius strip is bigger and hence more robust. Normally, the mobius strip should never detach, even under active movement. If it does, lengthening the strip fixes the issue.
  • The exact products used were: "Velcro Heavy Duty Stick On" for the hooks type solid base velcro on the CORE device itself, which is usually used on walls furnitures ; and "Velcro Snag Free Sew On" for the hooks-and-loops type soft textile velcro to make a Mobius loop on the chest belt to receive the CORE device.
  • Place the CORE on the chest's right or left side, below the armpit, as shown in: https://corebodytemp.com/coreclips/ — or more precisely as indicated in the schema above.
  • Avoid twisting the Polar Pro chest band when removing or attaching the CORE, if you also use the band to acquire ECG with the Polar H10, as twisting the band can damage the electrodes.
  • Wearing a t-shirt while sleeping always improve the temperature measurements during the sleep sessions by reducing frictions with blankets and bed. During warm weather periods, try to tighten more the chest belt to compensate, although this will increase respiratory discomfort and itchiness.
  • Combine with a Polar Pro or other stretchable and breathable chest strap, the stretchiness of the material further improves the reliability of skin contact, especially when in movement/during sleep because the material better follows the skin movements.
  • ALTERNATIVE: according to this brain study, better place where there is soft tissues beneath, not bones, so on solar plexus. Indeed, DHF can acquire temperature 2cm below skin (DHF being the evolution of zero-heat-flux ZHF that consumes less energy): zero-heat-flux sensor for deep sensing of core body temperature if possible on the chest. Ref: Temperature Monitoring With Zero Heat Flux Technology In Comparison With Thermocouple Needle Probe During Selective Hypothermia, Mohammad Fazel Bakhsheshi et al, 2018. https://doi.org/10.1115/DMD2018-6930
    • The issue is that this site cannot be used simultaneously as chest ECG. So either need to replace cheststrap ECG with elecrodes but then prone to motion artifacts and involuntary detachment and superficial skin irritation due to the adhesives in the eletrodes when worn over days, or need to use a distal PPG sensor but without ECG, only heart rate and hrv.
  • ALTERNATIVE: for women, the CORE can be worn in the sides of the bra, under the armpit (see also here and here). But at night, the DIY velcro attachment system described above is more adequate to sleep with.
  • IMPORTANT: Instruct the subject to regularly check and reposition the CORE device to be flat on the skin, as it's crucial that the device be in full contact with the skin for precise measurements. It's often necessary when changing positions or when laying in the bed. It's possible to move the sensor around (eg, more on the thorax, completely on the side or even slightly on the back, can also be moved up and down) with no loss of accuracy, what matters is full skin contact.
  • If the CORE cannot be discovered on the smartphone app anymore for unknown reasons and its green LED doesn't light up anymore, try to plug with the provided magnet cable to a computer USB port and the CORE, wait a few minutes, then disconnect. Connecting and disconnecting the CORE to the power outlet seems to systematically force it to turn back on. Nevertheless, even if there is no connection nor LED, the CORE continues to record data in the background even if it doesn't display it as long as there is enough battery left.
    • Also the app only detects the CORE when the user is moving their chest. Rocking forward and backward while sitting on a chair is sufficient.
  • Durability and replacement rate: with the default attachment system with L dominos, the CORE's attachment system breaks after about 5 months of 24/7 use. With the DIY velcro attachment system, the CORE can be used indefinitely. Note that even if the CORE's outer ring already broke due to the use of L dominos, the sensor still works perfectly fine when used with the DIY velcro attachment system.
  • Alternatives, but much less effective methods:

Wrist: Wristband with skin temperature and actigraphy sensors


Wrist skin temperature with iButton DS1925L and a cotton sports wristband


Wrist skin temperature wristband positioning overview:

  • Three iButtons DS1925L are used for this complete protocol, all attached using velcro to a sports cotton wristband worn on the non-dominant arm:
    1. the most important one positioned inside the wristband on top of the radial artery. This collects circadian rhythm pertinent data.
    2. one positioned dorsal interior, which means that it is attached inside the wristband but on the opposite side of the arm compared to the first iButton, to collect skin temperature at another position on the arm that apriori does not reflect the circadian rhythm. This is a sanity check.
    3. one positioned ventral exterior, which means it is attached just beside the first iButton but on the exterior of the wristband instead of the interior, to collect ambient temperature but with a positioning similar to the first iButton. This is a sanity check.
  • For end users, only the first iButton is useful, the other 2 are only for sanity check for research purposes. Indeed, the 2 other iButtons data can be used to demonstrate that the first iButton does really reflect the circadian rhythm variations, and not just limbs skin temperature (prone to influences such as washing hands) nor ambient temperature.

Additional technical details:

  • Total cost for the iButton + PC adapter + cotton wristband + velcro = $120.
  • Buy an iButton DS1925L, cost about $40 on industrial shipping websites such as Mouser. A OneWire-to-USB adapter is required to connect to a computer and download the data as CSV, if you don't have one, buy the DS1925EVKIT. If this kit is unavailable, the adapter can be bought separately, it's made of two pieces: DS9490R and DS1402D-DR8+ . Or alternatively, there is a one piece adapter for a single iButton: DS9490B .
    • Model DS1925L is preferred over DS1922L as it has a MUCH longer battery, although the temporal resolution is reduced (1 sample every 5min = 0.0034 Hz), this should be sufficient to monitor the circadian rhythm since there are several studies using older iButtons with an even lower temporal resolution (1 sample every 10 min) and it worked for this very same application (estimation of the circadian rhythm from wrist skin temperature).
  • BEST CRITICAL: wrist skin temperature (distal temperature) placement using Velcro to attach the iButton to a cotton sports wristband! + one sample every 10min is fine, but we prefer to use one every 5min. https://pubmed.ncbi.nlm.nih.gov/18761026/ : "In our experiments iButtons were programmed to sample every 10 min, and were attached to a double-sided cotton sport wrist band using Velcro®, with the sensor face of the iButton being placed over the inside of the wrist, on the radial artery of the non-dominant hand. The non dominant hand was selected to reduce the potential masking effects generated by the higher activity of the dominant hand (i.e. writing in class, manual working...). This procedure guarantees good skin contact with the sensor face of the iButton. Wrist location was selected among other peripheral regions (ankle, sternum, armpit) after several trials performed in our laboratory, since it allows long term recording without significant complaints of discomfort from the subjects. In addition, subjects could easily remove and replace the data logger when necessary (i.e., to have a bath or shower). After one week of monitoring, the information stored in the iButton was transferred through an adapter (DS1402D-DR8, IDC, Spain) to a personal computer using iButton Viewer v. 3.22© 1992–2005 Dallas Semiconductor MAXIM software provided by the manufacturer."
    • Using a cotton sport wrist band is a GREAT idea because it is flexible and hence allows to always press the iButton against the skin but not too hard and it conforms with movement, AND it also shields the iButton from ambient temperature! Better than a medical tape!
      • Buy at least 2 so that you can regularly (ie, every 1 or 2 weeks) wash one while still using the iButton with the other (simply detach the iButton since we use a velcro attachment system and reattach to the other).
      • The exact brand and model used was: "Under Armour 7.5cm/3" men's performance wristband".
    • Use a hooks type solid base velcro with an adhesive to stick on the larger base of the iButton, and scratch the velcro on the interior of the cotton wristband. The exact product used was: "Velcro Heavy Duty Stick On", which is usually used on walls furnitures.
    • Try to position the iButton in the horizontal middle of the foreram, on the radial artery close to the hand (the big vein that we can see when opening the wrist).
      • You can move the cotton wristband: aim for the radial artery anywhere on the forearm, the cotton wristband can be regularly moved when it feels itchy or when you need more room to wash your hands. Indeed, you need to avoid humidifying the cotton wristband, the iButton is not waterproof and this will make bacteria proliferate on the wristband and hence become more itchy! As long as the iButton is on the radial artery on the forearm, which goes from the wrist to the interior of the elbow ( https://www.healthline.com/health/arteries-of-the-body#organization ) then it should work. Closer to the wrist is better though.
    • Studies demonstrating this is an optimal placement site:
      • this study tested on 14 different body sites, and ideal where on limbs + on trunk
      • this other study shows that wrist skin temperature was shown to be sufficient to estimate the circadian rhythm
      • BEST METHODS: for proximal temperature, abdomen and forehead not reliable! Better to place iButtons on back or neck! Skin Temperatures of Back or Neck Are Better Than Abdomen for Indication of Average Proximal Skin Temperature During Sleep of School-Aged Children, 2020 https://pubmed.ncbi.nlm.nih.gov/33061911/
      • CRITICAL: core body temperature versus proximal and distal (wrist) skin temperatures. This shows why proximal temperature such as on the trunk cannot reliably be used to estimate the circadian rhythm. But core body temperature and distal (wrist) skin temperature both can. Ref: PhD Thesis: Crosstalk between Synchronizers and the Human Circadian System, D. Antonio Martinez Nicolas, 2014, PhD Thesis http://hdl.handle.net/10201/40027

  • Alternative sites and methods of wearing the iButtons, tested and considered less effective (with ineffective temperature measurements not reflective of the circadian rhythm, and much less comfortable to wear):
    • axillary = under the armpit, on the arm rather than the trunk to avoid sweat from corroding the iButton (it's not waterproof, only water resistante)
    • infraclavicular, which means just below the clavicule, check by touching to see if it's warm or reddish which means it's vascularized.
      • Alternative: 1cm above the navel
    • under the elbow or the interior of the wrist
    • any place on the body that is warm and/or reddish, meaning it's vascularized and radiating body temperature. If it's blank color, then preferably don't use this site.
    • Medical tape (comformable tape such as Hypafix) needs to be cut large enough (about 2x as large as the iButton's diameter) so that the iButton, placed in the middle of the tape, is entirely covered and also that all sides of the tape are in contact with skin.
      • For good fixation, tape in a cross-shape (2 bands in a cross, one on top of the other) if band too chin (<5cm) or for >5cm tape bands place the iButton in the middle of a 5x5cm square, so as to leave 1cm ("one-half inch") of tape on each side as recommended by 3M in its "Tips for Trouble-Free Taping" guide.
    • Choose a flat skin surface, without hair, and with little to no deformation on movement (eg, avoid articulations).
      • That is also very important not only for the patch to stick but also for comfort. If properly placed on a flat surface, it should not become itchy even after a few days of wearing continuously.
      • If axillary (armpit), thy on the arm rather than the trunk
    • If using multiple iButtons, distance them of at least 0.5cm apart so that they're not in contact and do not exchange heat.

Actigraphy with Axivity AX6

The AX6 is attached with velcro on the same cotton wristband as used for wrist skin temperature (with iButtons). It must be worn on the non-dominant hand, which is usually the left hand.

  • Actigraphic device AX6 possesses a printed white arrow, this must be always facing the same direction, preferably facing outwards towards the ground when the arm is typing on a computer (and the Axivity logo on the wrist facing towards the body).
  • More details on the velcro attachment system:
    • Stick a hooks type velcro band (a strong one as used for mural supports, as it won't be in contact with the skin) on the face without an arrow, and then scratch the velcro side on the cotton wristband (the one with the iButton). Can be scratched on the exterior (prone to water damage but if worn up the arm and under clothes it should be fine) or inside the cotton wristband (more resistance to water damage but may be less comfortable and will likely deform the band, which may decrease the reliability of the iButton contact with skin and hence skin temperature measurements). Wear on the non-dominant arm, as it slightly less biases the results compared to the dominant arm.
      • For Wearadian v1, the preferred way is to attach the Axivity AX6 on the exterior of the cotton wristband.
      • For Wearadian v2, the preferred way is to attach the Axivity AX6 on the interior of the cotton wristband, as to avoid exposure to rain, water splash and device detachment during motion.
    • Alternative: Can also use the provided silicon watch-like support that is waterproof, but it's difficult to wear both the cotton wristband and the watch-like support for AX6, so will likely have to wear on different arms. But then one will be on the dominant arm, which is suboptimal as it can slightly bias the results, but it's better than nothing.

Pendant: Light sensor with Lys Button


Positioning

The light sensor is worn either as a short-laced pendant or on the neck of a shirt, both being placed at a few centimeters below the chin, centered on the sagittal plane of the face (so that it faces where the user is looking at). A study shown pendants light sensors measure light with a close accuracy compared to eye-level light sensors (and much more than wristband light sensors), at least in terms of photopic illuminance since melanopic illuminance was not tested, and this positioning is much more comfortable than eye-level worn sensors such as light sensors in glasses-like structures.

  • Validation study: see figure 6 : A pendant positioned or cloths-worn (pin on the torso) light sensors produced the most accurate sampling of both light intensity (Lux) and an approximation of color spectrum (CS = circadian stimulus) to an eye-level worn light sensor, with much lower accuracy results for wrist-worn light sensors.
  • "Comparisons of CS values measured near the eye with the Daysimeter to those measured at other locations primarily reflect the effects of different measurement locations (Figure 6) because both devices have been calibrated the same way. The differences in CS measured at the eye and measured at the three other locations were surprisingly small, typically less than 10% over the range of hourly average CS values, suggesting that measuring light at locations other than near the eye introduces minimal errors in assessing circadian-effective light exposure. However, when device locations are compared in terms of photopic illuminance levels, the magnitudes of the differences can be quite large. Indeed, placing the Daysimeter on the wrist, rather than close to the cornea, yielded large differences in the absolute levels of photopic illuminance (in lux), especially at high levels when the CS values would already be near saturation. The photopic illuminance measurements taken by the Daysimeter near the eye and those taken by the Daysimeter used as a pin or a pendant were similar (Figure 6). Thus, these data underscore the potential problems in measuring light exposures at the wrist for use as surrogates for corneal light exposures. In winter months when long-sleeved clothing is worn, light measurements on the wrist will undoubtedly be lower than in the summer, when people wear short sleeves, daylengths are longer, and the sun is higher in the sky. The field data reported here were collected between August and January, with the majority of the data collected during warmer temperatures. Even larger differences between photopic illuminance measurements from the Daysimeter at the eye and at the wrist would be expected if they were only obtained during the winter months."

The participant must be instructed to regularly re-center the pendant and to ensure its orientation is either straight forward or slightly upwards, but not downwards. Carrying the Lys on a flat faux-leather necklace (as can be found for cheap in drugstores) allows to twist it to force the pendant to face slightly upwards. The necklace should be short, about 50cm, to ensure it stays above most layers of cloths and close to the face without being in skin contact nor too tight for the participant to breathe (it should be comfortable enough that they can sleep with it - the Lys sensor can be turned around while sleeping, it does not need to be centered, or it can alternatively be detached to be placed on a table on the bedside, there is no difference while sleeping between carrying it on oneself and placing it on the bedside).

Calibration (for DIY light sensors)

Calibration is apriori unnecessary for the LYS sensor since it is already calibrated at factory (it's purposed for research), but for DIY sensors it is necessary, and even for calibrated sensors like LYS it can be useful (although manual post-hoc calibration was not done for this study).

  • BEST METHODS: http://hdl.handle.net/10201/40027 "Participants were instructed to wear the lux meter over clothing and to leave it on the bedside table during sleep. To compare the light exposure of our subjects to the natural sunlight cycle, environmental light intensity was recorded for 1 wk in the same area and for the same experimental period. To do this, a Hobo sensor was placed outdoors, facing North in a shady location to avoid direct light irradiance."
  • BEST METHODS: for calibration of light intensity and color (spectrometer) sensor, see this study as a reference: https://doi.org/10.1038/s41598-020-75622-4 -- they used certifiably calibrated light bulbs as one of the ways to calibrate.
    • they also used a mini spectrometer sensor part: C12666MA from Hamamatsu Photonics "The device (Fig. 1) measured 44 × 20 × 29 mm, weighed 20 g, and was designed to be attached to clothing near to eye level. The device contained a C12666MA mini-spectrometer (spectral range 340–780 nm) from Hamamatsu Photonics, chosen due to its compactness, relatively high spectral resolution (15 nm), and high dynamic range. It is hermetically sealed and performs array spectroscopy using an array of 256 CMOS pixels with a reflective blazed grating for light diffraction."
    • original price at $180: https://groupgets.com/manufacturers/hamamatsu-photonics/products/c12666ma-micro-spectrometer -- available at $75 in a breakout board (but breakout board is discontinued, it may be sold out soon): https://groupgets.com/manufacturers/getlab/products/c12666ma-breakout-board
  • BEST METHODS: calibration of light spectrum sensor using calibrated incandescent light bulbs, thanks to eeror for sharing his experience with exactly this approach, here are the relevant quotes from his discussion:

I approached this by buying LED bulbs that had their light spectrum somewhere in their documentation.
The idea is that you can combine that data with the lux meter result to arrive quite close to the correct value.
That was a few years ago (still have a stockpile of bulbs left :D) so I can't quite remember the details anymore but I also tried to validate it against data from better lux meters.
And I remember I found the approach accurate enough.
The tricky bit with making a sensor like that can be calibrating it. Would be rather easy if you make many but somewhat more difficult if people assemble their own.
I wonder if there's a place you can buy a range of different filters with known properties.
I.e., data about what and how much it filters out.
Though it's likely that our use case doesn't need too much accuracy, of course. Most LEDs have similar properties, for instance.
I understood from quickly skimming the article you linked that they also tried to classify light sources.
Another thing I remembered about my own experiment.
Essentially, a lot of lux meters have bad filters.
Compared to the CIE luminosity function, their peak is usually in the correct place but the sides of the curve are often wrong.
Mine actually had the curve in its documentation.
So in the end, it was about combining the lux meter result with the light spectrum of the bulb and with the data about the filter of the lux meter.
So getting an accurate result still depends on factory calibration.

Let me just quickly find the relevant details.
So, while exactly the same bulbs aren't on sale anymore, these seem to be the ones they were replaced with: https://www.lighting.philips.com/main/prof/led-lamps-and-tubes/led-bulbs/classic-filament-ledbulbs/929002372601_EU/product
But the main point is that Philips publishes the photometrics data about their bulbs.
If you scroll down on that page, you'll see a luminosity chart.
Now, it seems like it's not for exactly that bulb (13 W vs. 17.5 W) but I'm sure the chart's similar enough if they've put it there.
I might have the characteristics for my bulbs stored somewhere but I'm fairly certain they look similar.
In any case, it's really all about the shape of the spectrum and not absolute values in this step.
I use a cheap lux meter (mine actually has a few more things in it, it can measure sound levels as well, for instance) from PeakTech (https://www.peaktech.de/).
Looks like this one: https://www.peaktech.de/uk/PeakTech-P-5035-Multifunction-environment-tester/P-5035
They're produced in China for multiple companies anyway.
The main thing is that they provide individual calibration results.
So you know the properties of the filter it came with.
Then you just have to figure out if you need to scale the absolute value.
But from what I know, they have done factory calibration against incandescent light sources.
I verified using a more expensive device that I borrowed.
I can probably find the details but I'm not sure about the make and model without checking.
Anyway, I validated that my batch of bulbs matched the published spectrum. I also figured out that for this particular bulb, I can multiply the result on my lux meter with a certain constant to know the exact value.
If you can trust the published data, you can find a similar constant for any light source.
For your own lux meter, of course. :)
Other than that, I can recommend the bulbs: the light is pleasant, they are efficient, and they seem to survive for a long time. :)
But after validating, I trust Philips to provide correct spectrum data. And that knowledge might be more useful than a particular model.
The PeakTech one works well for the price, I think. But I just bought what I could get from the store without waiting.
One more thing: they also sell lux meters that claim to measure LED light. I don't think those are any good: with just one filter, they can really only be accurate for some specific LED light source. It's quite likely that they're just multiplying all values with a constant similar to the one I found for my bulbs and my lux meter.
But you will lose the ability to sanity check against an incandescent bulb (or more specifically, standard illuminant A :)).

  • About whether the Luminette could be used as a calibration light source, there are pros and cons: the pros is that it's a certified medical device so theoretically the luminance and light spectrum are bounded, and that it can emit at 3 different light intensities (500 lux, 1000 lux and 1500 lux), hence providing 3 points to calibrate luminance instead of one. The cons is that it's a LED, not an incandescent bulb, which according to eeror are much less reliable, and another potential issue is that medical certification may not necessarily mean that all devices are tested and hence individual devices may vary by quite some amount, so this approach should only be considered appropriate for an approximately calibrated light sensor, but not a very accurate one, ie, if margin of error of plus or minus 100 lux is acceptable then that may be fine.

Luminette (light therapy usage history data collection)

An experimental app Luminette only available on iOS > 4 via TestFlight on invitation is required to collect usage history data.

Data can be collected either when the Luminette is turned on (while in use for a light therapy session), or while recharging without being turned on.

The participant must be instructed to turn off the Luminette when not used for more than 10min, since we want a faithful usage history data. If the Luminette is put aside just a few minutes to do an action that requires full sight (eg, moving a fragile object around under darkness), then that's fine without turning it off, but not more than 5-10min.

Dreem (when sleeping)

Participants compliance

Wearing a multi-wearables setup is a challenge that can be hard to comply with for participants over the whole duration of the experiment, especially for long durations (>24h). Here are some studies and thoughts on this issue:

  • BEST: Data Contribution Summaries for Patient Engagement in Multi-Device Health Monitoring Research, 2021 https://doi.org/10.1145/3460418.3479371
    • Abstract: The rapid growth in the range of data measures from wearable and stationary sensing devices has led to the adoption of multiple devices in health research. Such multi-device setups present challenges in sustaining patient engagement to capture continuous and high-quality datasets. One approach is to present health data to patients throughout the study but often occurs upon study completion. We report on preliminary insights from a feasibility study (IDEA-FAST) where multiple devices were used by 141 patients in their free-living environments. Interviews with a subset of patients and clinicians highlight challenges and opportunities around participation, data use and interpretation, including understanding compliance and data explainability with patients. We propose that summarising metadata from device usage could foster engagement and scale across a range of technologies regardless of the specific measures or post-processing algorithms provided by devices.
      • Circalizer may in the future be used for this purpose.

Supplementary sensors

This section describes other sensors that can be used in addition but are not mandatory for sleep research.

Acquisition procedure

This section presents the data collection procedure, as well as devices recharging and cleaning, that must be done on a regular basis. The frequency is specified for each type of sensor.

In general: instruct participants to clean up the sensors (with alcohol on a cloth) + upload data and free up space on sensors + recharge sensors (even if partially) everytime they take a shower.

Actigraphy Axivity AX6 acquisition

Data upload (to a computer, there is no cloud) + battery recharge, to be done by user at least once per 9-10 days:

  • Remove from wristband/watch and connect to a computer through USB
  • Open OmGUI: https://github.com/digitalinteraction/openmovement/wiki/AX3-GUI
  • Select the AX6 device, Stop the recording, Download the stored data on the AX6, and wait for 100% transfer (and battery recharge, make sure the computer is plugged to outlet for faster recharge)
    • It is preferable to connect to USB on computer, this allows to both transfer data and recharge at the same time, without risks of overloading voltage.
    • It takes about the same time to transfer a full dataset (collected over 9/10 days) than to recharge to 100%.
  • Rename the downloaded file to append current datetime in the filename (else it's not in the filename and it can get overwritten)
    • Alternative: there are undocumented placeholder tags that can be set in the Options menu to add the datetime automatically, such as {EndTime}, {EndTimeNumeric}, {StartTime} and {StartTimeNumeric}
    • Here is the exact placeholder string that was used: {DeviceId}_{SessionId}_{StartTime}-{EndTime}
    • With the placeholder above, there is no need for manual renaming.
  • Optional: Backup somewhere the cwa files directly, can always export and normalize later, directly from OmGUI or other softwares/libraries.
    • An optional step to reduce size: zip the .cwa files, this usually saves half of the storage space.
  • Clear/Wipe device
  • Click Record and Reconfigure with 100Hz sampling frequency, 16bit resolution and 2000dps gyro/rotation. The settings should be memorized for next times.
  • Disconnect and stick the AX6 sensor back onto the cotton sports wrist band, the arrow must face the back of the wearer.
    • For babies, the arrow faces upward the thigh it is attached on.
    • If using the silicon wrist watch Axivity manufactures, it is necessary to match the arrow on the AX6 with the watch's arrow marker.
  • With these settings, AX6 can store up to 9/10 days included of continuous recordings when the battery is at least 95% charged.

Wrist Skin temperature Thermocron iButton DS1925L (or DS1922L) data collection

  • Prerequisite hardware: DS9490R and DS1402D-DR8+ to connect by USB to computer.
  • install 1-Wire drivers, then launch OneWireViewer — can use opensource java: https://adoptopenjdk.net/
  • Main procedure to do each time (at least once every 7 months for DS1925L, once every 10 days for DS1922L):
    • Plug the iButton into one of the bluedot receptors.
      • Pro tip: buy a DS9093F+ plastic foab to easily plug the iButton out. It's easier to use than the other plastic foab that are supplied in the starter evaluation kit.
      • Pro tip 2: if you don't have a plastic foab, don't worry, you can just avoid pushing the iButton all the way through, it's possible to just slightly push until the iButton connects to the surrounding metalling ring, that's enough for the software to detect the iButton. Just maintain the iButton in this position with your thumb and release when you're done transferring data and configuring the next mission. This way, the iButton never gets stuck in place, and so you don't need any additional tool to remove it.
    • download data of previous acquisition (if there is one): click the Mission tab at the top, wait for data to be downloaded (there is a percentage shown in the Mission Tab), then click the Temperature Data Log subtab > right click on chart > Save as .csv file
    • check the Real-Time Temperature tab that the iButton is working correctly (you can touch with your thumb to check that the temperature changes after a few seconds).
    • sync button clock to computer
    • Click on Clear Log to wipe out the old samples
      • IMPORTANT: note that the maximum number of samples seems to be 62720, beyond, no new data will be saved, there is no roll-over with DS1925L, although there is with DS1922L but it's messy to load rollover data for postprocessing. This represents a bit more than 7 months of continuous data collection with the settings we use below. That's why it's necessary to regularly clear the log and start a new mission.
    • click on the button "Start a new mission":
      • 0.0625°C temperature precision
      • 300s (5min) sampling rate for DS1925L ; 120s (2 min) sampling rate for DS1922L
      • For DS1922L only: Enable rollover (this will overwrite old data when the memory becomes full, this is necessary as I did not find a way to clean up the internal memory before a new mission, it seems File > Wipe the device does not clean the memory, hence without rollover new data won't be saved after 10 days of experiment, even after the data is transferred, see Mission > Total Device Samples count). This setting is unnecessary and unavailable for DS1925L as it can record years (4 years?) of data continuously due to its larger flash memory.
      • Disable SUTA and alarms but enable sampling and set 0 delay (so it starts recording asap). These should be the default settings anyway.
      • Click OK
      • This is what the setup should look like if properly configured for DS1925L:
      • And here for DS1922L:
    • Deploy (ie, attaching to the body with medical conformable tape such as Hypafix)
      • Orient the iButtons in a top-side fashion, with the top (smaller round side) in contact with the skin and the bottom (wider flat base) in contact with the exterior tape. This is because the top side contains the sensor and the base contains the battery, the latter insulating against fast temperature changes, so the response to sudden temperature shifts is faster with the top-side orientation, as this study shows: "Upon contact with the hot plate, the iButtons with the top side facing the object were significantly warmer for the first 4 min than those with the bottom side against the object (Fig. 3). During exposure to the cold object the ‘top-side’ iButtons were significantly cooler during a 5-min period. We conclude that the top side has a faster response to thermal changes when placed on hard and flat surfaces. The difference between the bottom and top side thermal response may in part have been caused by the locations of the battery (towards the bottom) and the sensor (towards the top)."
      • It takes only 10min to converge to the skin temperature from the start of skin contact.
    • Notes:
      • This setup will last about 5.6 days before the internal memory is full on the DS1922L (4096K with higher temperature resolution) and about 212 days for the DS1925L (because limited to 61K recording limit with higher temperature resolution, half of the lower temperature resolution).
      • The internal battery will last about half a year before the iButton DS1922L is dead and 4 years before the DS1925L is dead. A paper shows how researchers could change the battery manually but then the device is much less airtight.
      • Data need to be transferred to a computer every 6 months (for the DS1925L, the interval is much smaller with DS1922L, about 10 days), and the device memory (mission) needs to be reset, otherwise it will stop recording new records.
  • BESTTUTO for researchers of how to configure parameters (rollover, SUTA, etc): https://www.maximintegrated.com/en/design/technical-documents/app-notes/5/5335.html
  • Can then disconnect, unstuck the iButton and use Hypafix or Flexifix medical comformable tapes, very comfortable. Interestingly, also advised by Axivity for actigraphy.

Core Body Temperature: GreenTEG CORE data collection

Prerequisites:

  • To use the cloud data sample (one sample per 5min), it's necessary to first create an account on the cloud server online and pair the CORE device. More instructions: https://corebodytemp.com/pages/cloud-help
  • This account is also nowadays necessary to use the Android app (it was not in the past), so that offline reading of history is currently impossible (the History tab disappears, but the real-time tab remains) when disconnected from internet.

Wearer (user) collection data for the GreenTEG Core, the user must follow 2 timeschedules in parallel, as there are two types of datasets that are generated:

  • For both acquisition types below, the wearer must use the GreenTEG CORE app or the CALERA research app on an Android device. Both bluetooth and internet connection (wifi or 3-4-5G) must be enabled on the phone. If the CORE device cannot be discovered, recharge it by connecting in USB to a computer and shake it to activate it, a green LED should light up for a brief moment.
    • About the two apps: All sensors can work with both apps, but when connecting the first time on CALERA, a specific firmware needs to be installed, but then the sensor will still work on both the CALERA app and the CORE app. The CALERA app is made for researchers, it includes additional features if you bought a CALERA sensor (which is the same as the CORE sensor but includes a more expensive licence that offers access to raw values and different calculation algorithms when including heart rate). The CALERA app is historically the original CORE app renamed, and the new CORE app is a new more consumer friendly app. Most of the screenshots shown below are from CALERA/old-CORE, but the instructions work similarly for both apps. An important difference: whereas CALERA can only download the last 48h of data, it seems the new CORE app can download up to 4.5 days (if not more) of data (tested in-situ)!
  • Locally stored high resolution data (one sample per second = 1Hz, stored on the phone but can be transferred by USB or FTP after) must be done once every 3.5 days and takes 3.5h to be fully processed, and cannot be paused (otherwise the whole process must be restarted from zero - with no loss of data, but no new data can be collected meanwhile). This is also a good opportunity to plug the CORE device to a computer with the provided USB-dipole cable, as the device is immobilized for 3.5h anyway, and a 100% battery recharge takes about 3.5h as well. Make sure WiFi or mobile data (4G/5G) is enabled before opening the app and during the whole transfer, as otherwise the transfer will fail at some point (and it will need to restart from zero).
  • Cloud data upload (one sample per 5min) must be done once every 2 days by opening the app's History tab and waiting a few minutes for the full graph to display (data is uploaded simultaneously). Make sure WiFi or mobile data (4G/5G) is enabled before opening the app, otherwise the History tab won't display. Tip: on Android phones, the bandwidth usage can be displayed in the top information bar by enabling the option in the Android Developers parameters menu, this allows to know when the data upload is done.
    • Troubleshooting 1: there is a bug in the Android app which makes it forget the login when tapping on the "back" button twice. You do not need to re-enter your credentials everytime, instead just close the app fully (by displaying all apps and swiping the CORE app to kill it), and then re-open it, the app shouldn't ask for your credentials but remember them. However, this bug will happen again if tapping the back button twice, but the same solution can always be used.
    • Troubleshooting 2: in case of missing data, to force data upload to the cloud, close the CORE phone app, toggle mobile data (if it was on, set it off, or if it was off, set it on), then launch the CORE app again and click on the History tab. This will force a refresh upload of the latest data. Unfortunately, it will not reupload previous data, so if there was a bug (eg, because low 1 bar on CORE sensor battery), the old data will be lost anyway, even if it is still stored in the CORE internal memory. Note however that this happened only once over 2 years of recording.
      • Here is what it looks like to have a faulty, buggy cloud upload versus what is shown in the CORE sensor internal memory from the CORE app:
      • Note that after a few days of re-attempted uploads, the missing data was finally collected (without a clear indication why it appeared later, maybe because the computing servers that generate the graphs were down?).

Admin collection data:

  • For the cloud data, simply log into the cloud server and select a date range that spans across the whole experiment. Since the web app wants to display the data first before allowing you to download, it will be necessary to wait until the whole data gets displayed, which can take a long time for big data. Once the data is displayed, click on the "Export data" button.
  • For the locally stored high resolution data, it's necessary to either get physical access to the device (data can then be download via USB or FTP), or ask the user to send the data from their phone. Each 3.5 days dataset amount to ~37MB, hence they cannot be sent by e-mail. But they can be zipped to be reduced down to less than 20MB, which can be sent by e-mail. For short experiments (eg, 1 week), this represent just 2 files and hence 2 e-mails, but for longer experiments, a dedicated online storage procedure must be devised by the experimenter (eg, OwnCloud, SeaFile).

Additional technical details:

  • The CORE can record up to 3.5 days of data in its internal memory, after which data stops from recording further until download (ie, no rollover), but only with the RESEARCH model, which costs 999 CHF. The consumer-grade version that costs 250 CHF can only show the last 2 days of core body temperature and it does not allow downloads. The resolution is 1Hz. Breaks under 5 months when worn 24/7 with the L dominos, but likely much longer when using velcro.
    • Note that the CORE can either record 3.5 days at 1Hz sampling resolution with the RESEARCH license, or 6.5 days (or however long the battery can last) at 1 sample every 5 min in standard without the RESEARCH license by using the cloud, or both 1Hz sampling via logging (need RESEARCH license to see the option in the app) and 1 sample every 5 min via the cloud simultaneously but only for 3.5 days as the internal storage memory will then be full and no new data will be recorded/displayed in the app. Indeed, the RESEARCH license's logging feature is a limited space option, and then transferring data requires losing at least 3.5h for the transfer to complete, whereas the standard 1 sample every 5 minute sampling via the cloud transfers very fast under a few seconds to the cloud and works with a rollover (ie, data older than 2 days is overwritten), so that if you can recharge the device (even while wearing it - although note that the cable is very short), then you can continue to log data as long as you wish, just keep uploading data at least once every 2 days via the app.
      • UPDATE as of January 2023, the consumer-grade (ie, that anybody can buy) GreenTEG CORE sensor now saves data at one sample per minute, which is a 5x increase in temporal resolution, for free! The data is available on the cloud, at https://cloud.corebodytemp.com/ - for comparison, most circadian rhythm studies used a resolution of one sample per 10 minutes, and the best ones used one sample per 5 minutes, and with much more cumbersome devices (ie, not wearables, they had to be plugged and/or they were invasive probes).
    • The RESEARCH license with the 1Hz resolution is useful if we want to study ultradian rhythms in addition to circadian rhythm, as a higher sampling resolution reduces aliasing and spurious rhythms.
      • UPDATE as of 2022: there is no RESEARCH license anymore, GreenTEG now sells research-oriented devices under the CALERA Research line, which is the same as the GreenTEG CORE sensor but with a 1Hz collection resolution but also in addition a SDK to program the heat flux machine learning calculation algorithm, and they already provide some alternatives, such as algorithms to infer core body temperature from using the sensor on the arm or wrist, instead of chest.
  • Use any Android smartphone, use the CORE app on the Play store to download the data. It takes about 3.5h currently and the phone must not be used during this time. WiFi and Bluetooth must both be enabled (because the data will be sent online to GreenTEG's servers - although a local copy will be directly available).
    • The CORE device can only be paired with one single smartphone. Any other smartphone won't be able to detect the device until the first smartphone unpairs (ie, app is closed).
    • Troubleshooting: if after a data download, the CORE app does not detect the CORE device, try to restart the smartphone that was last paired with the CORE device, sometimes the app (or smartphone, eg Realme 6i) has a bug that keeps the bluetooth pairing activated with a single smartphone and does not want to pair with anything else. Restarting the smartphone may fix this issue and the CORE device can then be paired with the same smartphone or with another. Or if it does not work, re-use the last phone that was paired with the CORE. This bug needs to be fixed in the future, it is very confusing and limiting for teams working with one same device (eg, in the clinical setting).
  • https://corebodytemp.com/manual/
  • News on the blog:
  • BEST TODO: Can use ePill (Gold Standard) to validate body temperature measurements of both CORE as done in doc (https://corebodytemp.com/wp-content/uploads/2020/05/CORE-SpecSheet-V1.9.4.pdf) and iButton!
  • BEST SPECS UPDATE: Internal memory: Record up to 84 hours of high-resolution data (= 3.5 days without a smartphone). More info from casing: battery lasts more than 6 days (but beyond 3.5 days old data will be lost, TODO: ask if rolling over or if it just won't store new data). Waterproof (up to 1.5m, IPX7), because fully sealed. Precision: +- 0.10°C for skin temperature, +- 0.26°C (median absolute deviation or 0.66°C 2sigmas) for core body temperature. Added data quality metrics for core temperature (does not account for movement but it's better than nothing, TODO: ask if raw data access also means data quality can be downloaded for each sample). Factory calibrated, no recalibration necessary.
  • BEST TODO: try different body sites, with no bones below but organs (ie, a cavity)? A study shown that placing a zero-heat-flux sensor where there is tissues or organs below provides much more accurate measurements than sites where bones are below the skin. This makes sense since it's estimated that zero-heat-flux method can estimate temperature about 2cm below the skin and hence can measure the core body temperature if placed above a cavity. See (for both claims): TEMPERATURE MONITORING WITH ZERO HEAT FLUX TECHNOLOGY IN COMPARISON WITH THERMOCOUPLE NEEDLE PROBE DURING SELECTIVE HYPOTHERMIA, Mohammad Fazel Bakhsheshi et al, 2018 https://doi.org/10.1115/DMD2018-6930
  • Another great review on dual heat flux method: https://www.gssiweb.org/en/sports-science-exchange/Article/monitoring-internal-body-temperature#articleTopic_5
  • Tip by GreenTEG Core personnel in private communications: "When you are offline, your data will be added to the cloud the next time you go back online (with the app opened on the History tab). It is important though that in the meantime, you do not reset your CORE, or let it run out of battery."
  • Tip: never let the battery run out, otherwise the historical data will be lost!

ECG (heart rate and heart rhythm) + 3-axis trunk Accelerometer with the Polar H10

Simplified protocol for EEG to change batteries and acquire data: Polar H10 and Android phone's recharge need to be done once every 9-10 days. When battery reaches 40% or below, need to change battery under the next 18h.

  1. On Android phone, stop recording, then restart the phone (not always necessary but if after changing batteries the sensor cannot be detected in the app, then a restart of the phone is necessary - in general, it's easier and faster to just restart the phone everytime when changing batteries).
  2. Open Polar H10 sensor and replace battery (can use a spoon if you don't have nails)
  3. Enable GPS (needs to be enabled at all time, even if there is no SIM card, for the Bluetooth to be able to autoreconnect to the sensor).
  4. Enable wifi (needs to be enabled at all time), open polar beats, go to setting to enable dual use but disable ANTS and the GymLink. Then tap the "Back" button on the Android interface, then close the app in multitask browser.
    • Previously, it was recommended to disable Wifi after this step. Although this is still possible and does indeed reduce battery consumption in half (hence increase acquisition time x2!), it does cause a lot of disconnections, as disabling wifi prevents the app from being able to poll for nearby devices as much as it can when wifi is enabled. Hence, it is now recommended that wifi is enabled at all time, so that whenever the device gets disconnected for some reason, it can be reconnected fast without user intervention (most of the time, but it is still good practice to instruct the user to light up the screen to check if the app is connected, checking the app is sufficient for the app to reconnect to the sensor).
  5. Launch Polar Sensor Logger app on Android by Jukka Happonen (which is the ECG and ACC data recording app we use), then click on Start recording, set parameters: 100 Hz and 4G, the recording should start.
    • Note: Polar Sensor Logger app runs correctly only on Android 10, not later Android versions!
  6. Check in Android multitasks that the app is locked (swipe to the top or bottom, a lock icon should appear), to reduce risks of it being shutdown by energy saving optimization process.
  7. Switch off the screen to save battery. Leave WiFi On if you want to record for long periods of time without checking the screen regularly, as the WiFi helps the Bluetooth connection to stay active. But you can disable WiFi to save battery (this approximately doubles battery life) but you then need to check the screen more regularly (at least twice a day) as the Bluetooth connection and the app more often gets killed by the OS.
  8. Place the phone in the shoulder bag, and wear it at all time.

Now the user only needs to check twice a day if the app is still running and recording:

  • Check at wake up and before sleep if recording continues, if not then restart app and start recording again (don't worry data is continuously saved, so even if the app is killed by Android, data recorded up to the kill will be alreahy saved). When the app is killed, the phone vibrates to notify you, but it's easy to miss it if you are busy or moving.
  • Instruct them to glance at the BPM and ACC values at the bottom, if they are 0, the chest belt needs to be replaced ASAP.
  • Once in a while (eg, once every 2 weeks), check graphs to see if the ECG and ACC graphs have a normal shape and the ECG baseline is not moving too much with movements (it's normal if this happens after re-donning the chest belt after a shower, the electrodes need some time to adapt to the skin again).
  • GPS location and Bluetooth need to be enabled all the time, the gps location is necessary for bluetooth apps to automatically reconnect while the screen is off. Wifi is only necessary with the polar beats app but not the ecg recording app, so turn it off to save battery.

Additional details:

  • Polar H10. Costs about 80€, including one Polar Pro chest strap. Battery: 16.5 days with one button (CR2320) battery. Chest strap (Polar Pro) needs to be changed every 3-6 months when worn 24/7. Data is always saved locally on phone, so there is no data loss, but the phone's internal storage can be filled up, hence it's necessary to transfer the whole data once every 6 months (on a 128 GB memory phone) to free up space onto a computer (6GB/day = 17GB/month is consumed).
    • The Polar H10 sensor needs to be paired via Bluetooth to a smartphone, and an app needs to be used at all times to record the ECG (because only heart rate can be stored on the internal memory). No cloud service registration required, all data is stored locally.
    • Use the Polar Sensor Logger app on Android by Jukka Happonen to log both the ECG and accelerometer data with the sampling rate of your choice (up to 200Hz/8G for the accelerometer and 130Hz for the ECG - we use 100 Hz and 4G to save on memory and it is sufficient for research purposes). It also saves the Heart Rate in a separate CSV file, and the extra columns represent the RR-interval in milliseconds. The timestamp format is in nanoseconds and the epoch is 1.1.2000. Note that the app requires both bluetooth and location (GPS), hence to save battery, the phone can be set to Plane mode and wi-fi can be disabled, everything can be disabled except bluetooth and location, and the screen can be turned off during data collection. Data is stored in realtime in csv files in the sensorDataLogs folder at the device's root, so that even if the logging is interrupted due to a bug or the device being out of battery, the last logging session won't be lost.
      • Note that although the app can work with only bluetooth, it won't be able to seek and automatically reconnect to the Polar H10 sensor in case of disconnection without location (GPS) enabled.
      • Also to ensure automatic reconnection, it's necessary to enable the dual Bluetooth stream/pairing on the Polar H10 after each change of CR2025 battery (the memory is flushed then) using the official Polar Beats app. Note that this app requires enabling wi-fi temporarily (in addition to Bluetooth and GPS location) to pair with the Polar H10. This can be a good opportunity to also disable GymLink and ANT+ to extend the H10's battery life.
        • Here are the steps to do every time the battery of Polar H10 is changed: 1- restart phone (to free up connection slots) if the H10 can't be detected, 2- launch Polar Beats app (requires WiFi enabled to access the settings) and in the settings tap on the entry Receptor: Polar H10 and then enable dual receivers (ie, allows multiple devices to connect to Polar H10, this is necessary as otherwise when the data logger auto-reconnects, the Polar H10 may refuse the connection thinking the previous connection is still alive), 3- disable ANT+ and GymLink (to save battery, 4- Launch Polar Sensor Logger, enable ECG and ACC, connect, set 100Hz/4G (or a higher data collection rate for accelerometer), then click on Graph, activate all graphs, check that everything is alright and you can see your ECG, then pause the graph to save battery and leave Polar Sensor Logger in the forefront (don't multitask with another app as otherwise it will likely get killed). UPDATE: avoid activating graphs at all, once you have used the system a few times, because otherwise there is a memory overflow error that makes the app crash after 1 or 2 days after having displayed the graphs, even if they are completely disabled after! Hence, check the graphs only from time to time, and prefer stopping the recording, close the app, then relaunch it anew and start a new acquisition before leaving the acquisition unattended.
      • Check the ECG and ACC graphs (but disable HR as it will make the app crash after a long enough acquisition) to check if the acquisition is fine.
        • If the ECG data is all wrong but ACC is fine, try to change for another CR2025 battery, sometimes a defective battery can mangle the signal for some reason.
        • If the ECG data is still wrong despite changing the battery, the Polar Pro chest band electrodes may be dead, so it's then necessary to buy a new one (costs 30 to 40 euros for the band alone). If used 24/7, the Polar Pro band lasts for about 6 months. The warranty does not cover it as it is considered normal usage degradation of a consumable.
        • If the app shows 0 bpm, then the Polar Pro chest strap definitely needs to be changed.
        • After you checked ECG and ACC graphs, reopen the menus to completely disable both graphs AND uncheck the device too, because otherwise the app may crash on autoreconnection when the H10 gets out of bluetooth range. It's always possible to re-enable the graphs at anytime to check, but it's necessary to disable them entirely meanwhile, not just pause them.
        • Note that after showers, when the skin is drying up, the ECG readings will be very noisy (with inputs from respiratory movements). This is to be expected because of the change in skin conductance. The ECG readings should stabilize after wearing the chest belt electrodes for one or two hours, with respiratory movements not affecting the ECG measures anymore at this point.
      • Always maintain phone battery above 20% otherwise app will likely get killed to save battery whatever the battery saving settings
      • It might be a good idea to buy a dedicated Android phone with a long battery, which can allow to continuously record up to 10 days with a single charge (the generated data with accelerometer set to 100Hz and 2G is 400KB/min total for accelerometer+ECG+Heart Rate, so this makes for 6GB for 10 days, or 17GB/month, or 200GB/year of data, so it all fits in any modern smartphone's internal memory).
        • Using as a bluetooth receiver the Realme 6i and its 5000mAh battery (cost about 170 euros), the battery consumption rate is 10%/24h, hence up to 9-10 days can be acquired with one full charge.
        • Here are the steps to configure the Realme 6i to allow for continuous background task (as otherwise most Android smartphones automatically kill background apps when the screen is turned off) and low battery usage:
          • Enable developer's mode, then in developers options, set Background processes limit to 4 instead of standard limit.
          • Then in battery optimizations (specific to this phone) disable all except screen optimization and standby optimization.
          • Disable Do not disturb mode and any night mode, else they will kill apps during the night.
          • Also activate plane mode, disable wifi (you will re-enable wifi from time to time when changing battery because it's necessary for the Polar Beats app to work), close all apps except ecg and activate only bluetooth.
          • Finally, open the ECG acquisition app and lock it (tap on tasks button to show all windows then swipe down the ecg app window or tap on the 3 dots in the corner to enable the lock). Then go back to the app, launch the acquisition, then go to the graph tab, check if data is acquired alright and then click on the Pause button at the bottom of the Graph tab to disable graphs and save battery.
          • Now switch back to the main tab, check if the BPM and accelerometer values at the bottom are dynamically changing, if yes then all is ok and you can switch off the smartphone screen. You need to leave the app in focus at all time, do not switch another app, the ECG need to remain on the foreground to not be killed. Android 11 may fix this issue but for now smartphone vendors are too aggressive with background tasks killing so there is no other way around.
          • With all these steps done, the Realme 6i and its 5000mAh battery will be consumed at a rate of 10%/24h, hence with a full charge the ECG can be continuously acquired for 9 to 10 days! Which is an impressive feat that currently no other wearable ecg can do. Plus motion noise is greatly reduced thanks to the Polar chestband without dangling electrodes wires.
          • The data will be continuously saved in CSV files in the sensorDataLogs folder, even if the app or phone crashes at some point.
          • The Realme 6i needs of course to be kept within bluetooth range (ie, it can go through 2 thin walls but not the distance of a full apartment), so buying a small shoulder bag for smartphones to carry the Realme 6i at all time on oneself is recommended. Do not use a neck strap, as the weight of the smartphone will be very noticeable, whereas with a shoulder strap it feels almost weightless, it's possible to get used to it and not feel carrying the shoulder strap bag, especially if carried under a jacket or pull as to reduce the degree of motion of the bag. Example of a smartphone shoulder bag:
          • Note: this shoulder bag can host two phones (eg, Realme 6i for Polar ECG + iPhone 7 for Lys light sensing).
      • Alternative to get an even longer battery bluetooth receptor: make an Arduino-based bluetooth low energy (BLE = BT 4.0) logger to microsd card. Some developers already made heart rate loggers for Arduino and Polar H7 chest bands (see also here and here), but not the ECG, although the SDK is open so that should also be possible to do.
      • Using the Polar Beat app (enable wifi and bluetooth on the phone, these are necessary for the app to work), the H10 sensor can be configured to have a dual Bluetooth stream, so that it can send data to two different devices/apps simultaneously. This is necessary to allow the Polar Sensor Logger to reconnect to the sensor automatically, as otherwise sometimes the reconnection will be refused, the Polar H10 thinking two different devices tried to connect when it's the same one just trying to reconnect. This can also be used advantageously to concurrently continuously record the ECG data on one device, and use another device (the day-to-day smartphone) for when you want to visualize your current heart rhythm in real-time. To do this, install the Polar Beat app, pair the sensor, then go to the settings, click on the sensor and the sensor's options will show up, and then you can enable the "2 BLE receptors" option.
      • This app is made by an employee of Polar (although this is not an official Polar app), so that it likely has a very robust and clean implementation respecting the Polar API.
      • Combined with the EliteHRV Android and iOS app, the Polar H10 can be used for breathing relaxation exercises (fundamental resonance breathing etc), and also be used as a biofeedback tool.
      • Big advantage of this setup compared to others: it really allows for continuous ECG, since there is no need to transfer data to restart a new session, as the phone's memory is used and it's vast. So only the smartphone's battery is the limitation, but it can be recharged while the acquisition continues, and even the data can be transferred concurrently using FTP or similar apps. This is a true 24/7 continuous ECG monitoring setup.
      • Use Sony or Varta CR2025 batteries for the H10 to last ~10 days with one battery. Cheaper or rechargable batteries won't last as long. Some users reported that CR2032 can also fit, and they last longer since they have a bigger size and capacity, but Polar warns against using a battery of an incorrect type (ie, anything else than CR2025) as they claim this can cause an explosion.
      • https://support.polar.com/fr/support/maintenance_of_heart_rate_sensor_with_textile_strap
      • If after stopping acquisition, the Polar H10 is no longer detected by any app, reboot the Android phone, then the H10 should be detected correctly. This often happens after changing the Polar H10 battery.
      • Software alternative for iOS: https://github.com/poml88/ecg-recorder-ios (not tested)
      • Use a microfiber cloth imbibed with alcohol to clean the entire Polar Pro chest band strap every 1-2 weeks. A microfiber will be better than tissue as it will avoid spreading lints which will make the chest belt more itchy. Do not clean the metallic connectors to the Polar H10 sensor, as ethanol will erode them.

Light sensors Lys Button data collection

The light sensor setup consists of the Lys button worn on a pendant or on cloths, and an iPhone carried in the shoulder bag along with the Android phone used to collect ECG data.
The iPhone does not need to be switched on all the time, it is only needed to transfer data twice a day, unlike the Android phone which needs to stay open all the time to receive ECG data streams.

Prerequisites:

  • Launch the Lys app on iOS (tested on iOS 15.3 on an iPhone 7). The Android app does not work (it launches but does not send data to the cloud server) as of Feb 2022.
  • Create a (user) account in the app
  • Create another account on the Data Platform website using the provided credential in the e-mail post sale. This will make you create another account, which is the administrator/researcher account. It is different from the user account in the app. This requires a license to access the Data Platform (see in the Research tab in Pricing > LYS Light Diet app and Data Platform: https://lystechnologies.io/pricing/)
  • In the website, add the user account (by e-mail) to be able to collect their data.

User procedure to upload data (must be done by the user to send data to the cloud at least once every 18h according to the manufacturer's data or once every 37h32min according to our own tests, otherwise older data is lost, hence instruct user to do this ideally twice a day, at wake up and before sleep, or once per day at the very minimum, this should be done at the same time as ECG phone checks):

  1. Connect to WiFi on the iOS device and Bluetooth with the Lys Button paired.
  2. Launch the Lys app on iOS. If the app was already launched, first kill it and then reopen it (this will force the upload of new data, otherwise there is a timer so that the app only transfers data infrequently to reduce bandwidth and battery consumptions).
  3. Switch to the Now tab, and tap Scan with Lys Button. This uploads the first 8h-12h of data collected since the last upload (without rollover). Wait 60s with the screen turned on.
  4. Switch to the Track tab. This uploads the latest 37h32min of collected data inside the Lys Button's internal memory, with rollover (ie, old data is deleted to free up space for new data when storage capacity is exceeded). It appears the internal storage memory slot for the Track function is distinct from the dedicated storage space for the Now function, so that using both methods can theoretically allow to download up to 45h32min of data. On the Track tab, an upload progress percent estimation that shows up at the top of the Track page, but only when new data is being downloaded from the Lys device. The download (and concurrent upload to the cloud in the background) should end (ie, reach 100%) under just a few minutes.
    • the screen needs to be kept on while transferring data with the app on the foreground set on the Track tab, hence in the phone's settings, set the automatic screen switch off to a longer time like 10min to allow for the whole data to be transferred (until it reaches beyond 100% and the progress text disappears) before it automatically turns off.
    • Even if the screen is turned off, the app may sometimes connect to the sensor in the background and transfer data, which will drain the battery faster.
  5. Double tap the iPhone home button to display the list of apps, and close LYS. This will save both the iPhone's battery but also the LYS sensor's battery, otherwise the sensor will continue to transfer data in the background, consuming both the phone's and sensor's batteries much faster.
  6. Recharge the device once every 7 days (or when either reach below 20%), by placing the Lys Button inside its docking station connected to USB on computer (safer) or an electrical outlet (be careful not to overload the tension). Do not close the cap, and try to stay close to the Lys Button while recharging, as the Lys Button still continues to record while being recharged (so that there is no disruption in data acquisition).
    • Note that the LYS app on iOS needs to be closed for the LYS device to recharge, as indicated by the slowly blinking lights on the device (which stop when the LYS app is kept open).
  7. Recharge the iOS device simultaneously, by plugging the Lightning cable to an electrical outlet (it unfortunately does not recharge when connecting to a USB port on a non-Mac computer). The iPhone 7 lasts about as long as the Lys device as long as WiFi is disabled and all apps are closed when unused. If switched off between data transfers, the iPhone device can likely last much longer.

Admin procedure to download data (on the website):

  1. Select Date Range. If the user just uploaded new data, then it's necessary to select a date range again, even if it was already selected, because the data export is generated when selecting the date range, not when clicking the download buttons. Keep in mind the date range includes the first selected day but excludes the last selected day.
  2. Click on Download Device Data. This is the most important data as it contains the light measurements, but other data types are also available.

Note that the "NotWorn" value is not reliable.
Note2: the LYS sensor is unable to detect the use of Luminette, this sensor is hence only to measure ambient lighting conditions, not monitor light therapy usage.

Sleep diary acquisition

  • Before handing the device to the participant, the Sleepmeter app and widget should be preconfigured with the labels that are of interest to the experimenter (eg, coffee intake, alcohol, felt tired before sleep, evening bright light exposure, etc). The widget should also be preconfigured to span 15min by default between the bedtime (when tapped) and the falling asleep time, or more depending on what the participant describes about their sleep.
  • Before sleep (not at bedtime, but just before the participant stops all activities to fall asleep), the participant MUST tap the Sleepmeter Widget to start tracking their sleep session.
    • If the participant remains awake much longer, they can tap twice the widget to reset the counter to the current time (although note that the bedtime will also be reset — this issue will be fixed in Circalog).
  • At wake-up, they MUST tap the widget again to stop tracking the sleep session, but only when they stay awake longer than 30min (ie, if they wake up prematurely at night and try to go back to sleep, they don't need to tap, they should focus on falling back asleep).
  • After the definitive wake-up, they should review the last sleep record and edit the timing if they feel it is off (eg, if they took more time to fall asleep, they should either move the bedtime or fall asleep time; if they woke up during the night, they can add a "hole", even if mistimed, as to indicate a fragmented night to the experimenter). They should also add the labels that are pertinent (eg, alcohol intake the day before, etc) and a comment if they deem it necessary.

Data cleaning and preprocessing

Data from sensors is never clean, there can be all sorts of issues that mangled the data at some point. We need to be aware of when this happens and remove/clean such parts of the data to ensure a good enough quality of our final dataset to draw reliable conclusions upon.

Given a lot of these issues can only be known by the user/operator on the field, this section will describe them for quick reference for future data analysts.

ECG data cleaning

  • Modern smartphones often use very harsh battery optimization schemes that cannot be fully disabled. Hence, the ECG acquisition app was regularly killed forcefully by the smartphone's Android OS, which caused big gaps sometimes. The user was instructed to regularly (at least twice a day: at wake up and before sleep) check the smartphone to see if the app was still there, and restart it if necessary, but still this could not fully eliminate the risk. Since it was noticed that this risk seemed more likely with longer acquisition runtimes (ie, >30h), then the user sometimes stopped and restarted just after the app. When the gap is small (less than a few minutes), then the data can be concatenated without any special cleaning step. Likewise, for big gaps, the data can also be concatenated without cleaning.
  • Another case of gap is when the user removed the belt for some reason, especially before taking a shower. In this case, after the user starts wearing back the chestbelt, the sensor will generate very volatile readings (ie, the baseline will not be stable, it will go up and down with each breathing). This is because the chestbelt's electrodes impedance has not yet adjusted to the skin, or the skin is too humid or too dry. This issue disappears after about half a hour or more after continuously wearing the chestbelt. If the data analysis only involves beat detection but not the QRS complex's shape, then these parts of the data can be used. Otherwise, if the QRS complex's shape is of importance, it's necessary to cut the first hour or so after the user starts wearing the belt again. The issue then is to differentiate this scenario with the smartphone's battery optimizer killing the app's scenario, but where the user still worn the chestbelt and so there is no skin-sensors impedance mismatch and the data can be used as-is. Maybe a shape analysis in this case can be helpful.

Core body temperature data cleaning

  • When there is a skin miscontact, dual heat flux sensors such as GreenTEG CORE overestimate core body temperature and underestimate skin temperature. Hence, around gaps (when the sensor is not anymore in contact with skin but instead with air), it is necessary to ignore about half a hour before and half a hour after the gap, to ensure the sensor converged to the real core body temperature. Furthermore, data analysis should include sanity checks against extremely high values which may be errors (but they may be caused by infections too). Lower core body temperatures should be assumed to be reliable, since they cannot be caused by skin miscontact.

Wrist skin temperature data cleaning

  • Similarly to core body temperature sensor, wrist skin temperature sensor using iButtons take some time to converge, until then they will underestimate skin temperature. A study estimated that iButtons need about 10min to converge to the real temperature when the bigger side is in contact with skin, see Figure 3 of this study.

Actigraphy data cleaning

Analysis


For all

  • Clinically significant outcomes defined by AASM: "Table 2-Critical Outcomes and Their Clinical Significance Thresholds Defined by the TF" http://sleepeducation.org/docs/default-document-library/crswd-draft-executive-summary.pdf?sfvrsn=2
  • temperature: BEST REVIEW TOADD: A practical approach to circadian rhythm sleep disorders, 2008 https://pubmed.ncbi.nlm.nih.gov/18845459/
    • "Bright light treatment and exogenous melatonin administration are considered to be the treatments of choice for these circadian rhythm sleep disorders. Circadian phase needs to be estimated in order to time the treatments appropriately. Inappropriately timed bright light and melatonin will likely worsen the condition. Measurements of core body temperature or endogenous melatonin rhythms will objectively assess circadian phase; however, such measurements are seldom or never used in a busy clinical practice. This review will focus on how to estimate circadian phase based on a careful patient history. Based on such estimations of circadian phase, we will recommend appropriate timing of bright light and/or melatonin in the different circadian rhythm sleep disorders. We hope this practical approach and simple recommendations will stimulate clinicians to treat patients with circadian rhythm sleep disorders."
    • Non24 circadian rhythm monitoring via minimum core body temperature + adjustment with light therapy of circadian rhythm AND core body temperature! Case of a non‐24 h sleep–wake syndrome patient improved by phototherapy, 2001 https://doi.org/10.1046/j.1440-1819.2000.00719.x
  • non-24 melatonin and (oral) body temperature inverse correlation, but body temperature was non-24 (non circadian) whereas melatonin can be:
    • "Cosine analysis of melatonin and oral temperature rhythms revealed a significant 24-hour pattern of salivary melatonin (p < .05); however, no significant circadian pattern was found for oral temperature rhythm and an uncoupling with melatonin rhythm was observed (Fig. 3)." https://doi.org/10.1097/01.chi.0000181040.83465.48
  • BEST METHOD: double-plot actogram (conventional or heatmap) in Excel, and application to any periodic data type (core body temperature, actigraphy, sleep ECG, etc) and to various circadian periods (including non-24!): https://pubmed.ncbi.nlm.nih.gov/31614567/ Oike H, Ogawa Y, Oishi K. Simple and Quick Visualization of Periodical Data Using Microsoft Excel. Methods Protoc. 2019 Oct 11;2(4):81. doi: 10.3390/mps2040081. PMID: 31614567; PMCID: PMC6961127.
    • Of course, this can "only" allow for the visualization of tens of thousands of data points. So for big datasets such as long term studies > 6 months or 24/7 ECG, it's not going to work.
  • BEST METHOD: review of methods to analyze periodic timeseries: https://www.ncbi.nlm.nih.gov/labs/pmc/articles/PMC3663600/
    • See Figure 13, cosinor analysis allows to calculate period even when there is a lot of noise! Periodogram
      • Need at least 10 days of data to be reliable statistically
      • Need to be continuous data (no discrete nor gaps eg during sleep) — EXCEPT if using Lomb – Scargle periodogram or cosinor analysis.
    • cosinor analysis "is appropriate not only for non-equidistant data but also for serially-independent data (that is, educed rhythms)".
      • But require an estimation of the period, hence a periodogram can be useful as a first step!
      • "MESOR (M, Midline Estimating Statistic Of Rhythm, a rhythm-adjusted mean that differs from the arithmetic mean when the data are not equidistant and/or do not cover an integer number of cycles)"
      • Preferable over least-square and sum-of-squares regression fitting. But maybe these do not require any apriori period.
      • "The single cosinor approach, which consists of fitting by least squares one or several cosine curves with or without polynomial terms to an individual time series (whether the data are serially-dependent or serially-independent as to individuals and/or as to the environment), has been complemented by the population-mean cosinor method that provides a summary of results from three or more individuals (Bingham et al. 1982; Halberg et al. 1967)."
  • Scales: "Sleep deprivation and symptoms of insomnia probably cause daily dysfunction that can be expressed either as fatigue in FSS (37.4%) or as sleepiness in ESS (27%)." https://doi.org/10.2147/NSS.S308917

Actigraphy with AX6 (6-axis)

  • https://github.com/digitalinteraction/openmovement/wiki/AX3-GUI
  • https://www.youtube.com/watch?v=R8kqGg2pcwE
  • https://axivity.com/userguides/ax3/settings/#additional-sensors
  • https://github.com/digitalinteraction/openmovement/wiki/AX3
  • drivers and softwares: https://axivity.com/downloads/ax3
  • Methods:
    • https://biobankaccanalysis.readthedocs.io/en/latest/methods.html
    • BEST circadian rhythm detection through actigraphy using nonparametric method: Multiscale adaptive analysis of circadian rhythms and intradaily variability: Application to actigraphy time series in acute insomnia subjects https://doi.org/10.1371/journal.pone.0181762
      • "Circadian rhythms become less dominant and less regular with chronic-degenerative disease, such that to accurately assess these pathological conditions it is important to quantify not only periodic characteristics but also more irregular aspects of the corresponding time series. Novel data-adaptive techniques, such as singular spectrum analysis (SSA), allow for the decomposition of experimental time series, in a model-free way, into a trend, quasiperiodic components and noise fluctuations. We compared SSA with the traditional techniques of cosinor analysis and intradaily variability using 1-week continuous actigraphy data in young adults with acute insomnia and healthy age-matched controls. The findings suggest a small but significant delay in circadian components in the subjects with acute insomnia, i.e. a larger acrophase, and alterations in the day-to-day variability of acrophase and amplitude. The power of the ultradian components follows a fractal 1/f power law for controls, whereas for those with acute insomnia this power law breaks down because of an increased variability at the 90min time scale, reminiscent of Kleitman’s basic rest-activity (BRAC) cycles. This suggests that for healthy sleepers attention and activity can be sustained at whatever time scale required by circumstances, whereas for those with acute insomnia this capacity may be impaired and these individuals need to rest or switch activities in order to stay focused. Traditional methods of circadian rhythm analysis are unable to detect the more subtle effects of day-to-day variability and ultradian rhythm fragmentation at the specific 90min time scale."
      • With source code in refs: https://github.com/travisszucs/ssa-research
    • BEST CRITICAL TOCODE: model-free prediction of the underlying circadian rhythm from actigraphy. Can quantify intradaily variability and delay in circadian rhythm. May work also for non24, and may be adaptable to temperature maybe? Would be great helpful info to know how the day/next night sleep is going to go. See figure 4:
        • "Fig 4. Circadian component of actigraphy data. Shown for the control (upper panel) and the acute insomnia subject (bottom panel) of Fig 1. The circadian rhythm has been fitted using the model-based cosinor method according to Eq (2) (dashed curve) and the data-adaptive SSA method using the periodic components g2(n) and g3(n) of Eq (7) (full curve). Vertical gridlines at midnight."
      • "The traditional method to analyse circadian rhythms is cosinor analysis, which quantifies the 24-hour (24h), and other periodic cycles, by means of examining the degree of “fit” between the data and a user-defined model consisting of a superposition of cosine functions [21, 22]. However, experimental data where the statistical properties vary over time (non-stationary data), such as having a dominant trend [23–25], or time-varying amplitudes, frequencies or phases [26–28], are much harder or impossible to describe using models based on these periodic functions. Another disadvantage of the cosinor method is that it is unable to detect rhythm fragmentation. With this in mind, the traditional approach, particularly for the analysis of actigraphy data, has been the measure of intradaily variability (IV), which is not model-based and hence is a nonparametric method. IV quantifies the frequency and the importance of transitions between periods of rest and activity, and for historical reasons is generally applied to hourly clustered data [2, 29, 30]. Although qualitatively different, the cosinor method and the IV method can be seen as complementary, where the focus of the former is the characterization of the 24h periodic aspects of the data, whereas the latter assesses the degree of rhythm fragmentation. Recently, more specialized techniques have been developed to study circadian rhythms (see Ref. [31] for a review). In particular, wavelets have been used to study circadian rhythms of nonstationary data [27, 28]. Wavelets however are, as with cosinor analysis, model based in the sense that the results obtained may depend on the particular wavelet basis function selected by the user. While continuous wavelet transforms may need an explicit prior detrending, discrete wavelet transforms are more effective in extracting time series components." → review of methods to model the circadian rhythm from actigraphy data: Procedures for numerical analysis of circadian rhythms, 2007: http://www.ncbi.nlm.nih.gov/pubmed/23710111
    • BEST CRITICAL METHODS: Composite Phase Deviation method to quantify circadian misalignment from actigraphy or sleep logs: A novel method to visualise and quantify circadian misalignment (actigraphy), 2016 https://pubmed.ncbi.nlm.nih.gov/27929109/
      • "Based on a single time series, our Composite Phase Deviation method unveils distinct, subject- and schedule-specific geometries ('islands and pancakes') that illustrate how modern work times interfere with sleep. With increasing levels of circadian strain, the resulting shapes change systematically from small, connected forms to large and fragmented patterns. Our method shows good congruence with published measures of circadian misalignment (i.e., Inter-daily Stability and 'Behavioural Entrainment'), but offers added value as to its requirements, e.g., being computable for sleep logs and questionnaires."
    • Optimizing actigraphic estimates of polysomnographic sleep features in insomnia disorder https://doi.org/10.1093/sleep/zsaa090
    • the actual sample rate with Axivity AX3 can actually fluctuate between 94-104Hz when sampling rate is set at 100 Hz: https://biobankaccanalysis.readthedocs.io/en/latest/methods.html
      • Over time this internal clock will drift slightly. For single device applications, that can tolerate a drift of 50 parts-per-million (0.18 seconds per hour) no action is needed. However, when using multiple devices for a single capture session, aligning the data sets from several sources can become difficult. To overcome this, you can add an easily identifiable signal (e.g. claps at the start and end of capture), and tools are available to help synchronize this to an external clock or between devices. https://axivity.com/userguides/ax3/settings/#additional-sensors
      • For single handed monitoring the choice between dominant and non-dominant hand must be based on if the data set will be used for activity classification and physical activity monitoring type applications (for which the non-dominant hand is a popular choice) or finer grained skill assessment of activities (for which the dominant hand is often used). https://axivity.com/userguides/ax3/using/
      • However, for successful data capture the AX3 must be securely fastened to the target with minimal room for vibration, slip or twist; this helps preserve only the motions of the target are captured. In addition, an attachment convention for device orientation will assist in consistent and comparable datasets being gathered. The below is a suggested orientation convention for popular body mounting sites. With the exception of the left wrist, the USB port is configured to point towards the ground.
    • Actigraphy-based parameter tuning process for adaptive notch filter and circadian phase shift estimation, 2020 https://doi.org/10.1080/07420528.2020.1805460
      • With phase shift estimation!
      • Also works with low quality actigraphy sampling rate:
    • ME: BUT QUESTION: changed usb port in AX3 is same direction as arrow, but for AX6 it's opposite. So should the position relative to the arrow or the usb port? https://axivity.com/userguides/ax3/using/
    • Can resample CWA file into WAV file, will not overwrite original
    • https://cran.r-project.org/web/packages/GGIR/vignettes/GGIR.html#daysleepers-nights-workers
    • https://axivity.com/userguides/ax3/using/ recommends: To fix the sensor to other body positions where a strap or clip is not feasible, Axivity recommends the use of Hypafix or Flexifix dressings.
    • BEST: AASM 2018 clinical guidelines recommend the use of actigraphy for diagnosis of CRSWD + confirm that actigraphy is complementary to sleep logs, not a replacement:
      • Use of Actigraphy for the Evaluation of Sleep Disorders and Circadian Rhythm Sleep-Wake Disorders: An American Academy of Sleep Medicine Clinical Practice Guideline, 2018, https://pubmed.ncbi.nlm.nih.gov/29991437/ "We suggest that clinicians use actigraphy in the assessment of adult patients with circadian rhythm sleep-wake disorder."
      • Use of Actigraphy for the Evaluation of Sleep Disorders and Circadian Rhythm Sleep-Wake Disorders: An American Academy of Sleep Medicine Systematic Review, Meta-Analysis, and GRADE Assessment, 2018, https://pubmed.ncbi.nlm.nih.gov/29991438/
        • "These data demonstrate that actigraphy provides consistent objective data that is often unique from patient-reported sleep logs for some sleep parameters in adult and pediatric patients with suspected or diagnosed insomnia, circadian rhythm sleep-wake disorders, sleep-disordered breathing, central disorders of hypersomnolence, and adults with insufficient sleep syndrome." (hypersomnia too = central disorders of hypersomnolence)
    • actigraphy: auto method to detect SPT window (ie, when sleep starts and ends), then can use their other tools to detect sleep stage: Estimating sleep parameters using an accelerometer without sleep diary https://www.nature.com/articles/s41598-018-31266-z
      • "Wrist-worn raw-data accelerometers are increasingly used for the assessment of physical activity in large population studies such as the Whitehall II study or mega-cohorts such as UK Biobank1,2,3. The decision to use raw-data accelerometers is motivated by the improved comparability of output across different sensor brands4,5, and better control over all steps in data processing6. Accelerometers are commonly worn for 24 hours per day, thus providing information over the day and night; making them potentially valuable for sleep research." using GGIR R package
      • "A major challenge in accelerometer-based sleep measurement is to derive sleep parameters without additional information from sleep diaries1,3,7. Standard methods for sleep detection based on conventional accelerometers (actigraphy) involves asking the participant to record their time in bed, sleep onset, and waking up time8,9,10. In a previous paper we developed a method to detect sleep guided by sleep diary records11. However, the increasing use of accelerometry in studies worldwide without sleep diaries necessitates the development of novel methods to derive indicators of sleep behaviour, in the absence of sleep diary records. A crucial step is the detection of the sleep period time window (SPT-window), which is the time window starting at sleep onset and ending when waking up after the last sleep episode of the night. Once the SPT-window can be detected without a diary, our previously published method can be used to detect sleep episodes within this window11."
      • comparison of actigraphy with polysomnography (PSG) gold standard: "SPT-window duration was estimated for the left wrist within 2 hours for the majority of individuals (75%) but deviated by more than 2 hours in seven individuals, six of which had a sleep disorder, as shown in Fig. 3 (right wrist: 81%, five, and four, respectively)." - not that much better than the Oura ring in fact
      • BEST: sourcecode available in GGIR: "Both SPT-window detection algorithms are implemented and available in open source R package GGIR version 1.5-23 (https://cran.r-project.org/web/packages/GGIR/)18, see the software’s documentation on input arguments ‘loglocation’ and ‘def.noc.sleep’ for further details on the use of L5 ± 6 and HDCZA."
      • BEST ACTIGRAPHY METHODS REFS 4,5,6:
        • 4. Rowlands AV, Yates T, Davies M, Khunti K, Edwardson CL. Raw Accelerometer Data Analysis with GGIR R-package: Does Accelerometer Brand Matter? Med. Sci. Sports Exerc. 2016;48:1935–41. doi: 10.1249/MSS.0000000000000978. [PubMed] [CrossRef] [Google Scholar]
        • Rowlands AV, et al. Accelerometer-assessed Physical Activity in Epidemiology: Are Monitors Equivalent? Med. Sci. Sports Exerc. 2018;50:257–265. doi: 10.1249/MSS.0000000000001435. [PubMed] [CrossRef] [Google Scholar]
        • van Hees VT, et al. Challenges and Opportunities for Harmonizing Research Methodology: Raw Accelerometry. Methods Inf. Med. 2016;55:525–532. doi: 10.3414/ME15-05-0013. [PubMed] [CrossRef] [Google Scholar]
      • Use non-dominant wrist, more accurate
    • BEST CRITICAL: generalizable ANN model with disclosed mathematical models from actigraphy + heart rate data to auto detect sleep-wake periods AND sleep stage score (REM, NREM N1, N2, N3 etc): https://pubmed.ncbi.nlm.nih.gov/31579900/
      • Used by Oura ring v3 for sleep stage scoring: https://doi.org/10.3390/s21134302
      • and indeed they simulate the circadian rhythm with a "clock proxy" mathematical model, this improves classification for sleep stage scoring results!
    • BEST METHOD: combination of wrist skin temperature + actigraphy: "Ortiz et. al. (2014) proposed a method that integrates temperature and accelerometer sensor data together to determine circadian phase. They calculated several phase markers by combining accemetry data and wrist temperature data using non-parametric methods. Specifically, by comparing the phase calculated from wrist temperature and the phase of DLMO, they found that wrist temperature can effectively predict circadian phase." https://doi.org/10.4108/eai.20-5-2019.2282879
  • Using 2 Axivity AX3 on wrist and leg (thigh) allows to recognize any activity to 97% accuracy: https://www.researchgate.net/publication/326431615_A_Dual-Accelerometer_System_for_Classifying_Physical_Activity_in_Children_and_Adults and https://www.nature.com/articles/s41366-019-0352-x
  • BEST PACKAGES:
    • ACTIGRAPHY ANALYSIS PACKAGES: GGIR (R package, with auto-detection of start and end of sleep window), pyActigraphy (by Liege CRC), SleepPy (ref paper JOSS) - example of full analysis: https://github.com/ChildMindInstitute/Healthy-Brain-Network-wearable-evaluation - Actigraphy Analysis Toolbox in MATLAB (direct link - with auto detection of start and end of sleep window - better than others according to paper and fit for disturbed circadian rhythms and fragmented sleep such as PTSD)
    • Spectrometer light analysis packages: Lucas Toolbox: Lucas, R.J.; Peirson, S.N.; Berson, D.M.; Brown, T.M.; Cooper, H.M.; Czeisler, C.A.; Figueiro, M.G.; Gamlin, P.D.; Lockley, S.W.; O’Hagan, J.B. Measuring and using light in the melanopsin age. Trends Neurosci. 2014, 37, 1–9. as used in https://www.researchgate.net/publication/340603112_Accuracy_of_the_GENEActiv_Device_for_Measuring_Light_Exposure_in_Sleep_and_Circadian_Research
    • Heart rate variability analysis:
    • pypupillometry to analyze pupillometric data (eg, to analyze effect of light and dark therapy on pupil dilation as a proxy of ipRGC cells stimulation): https://joss.theoj.org/papers/10.21105/joss.02348
    • BEST CRITICAL SUPER METHODS: About circadian phenotype diversity PLUS NON-24 BOTH LONGER AND SHORTER FOUND VIA UNSUPERVISED CLUSTERING OF ACTIGRAPHIC DATA: "To achieve that, a pipeline of data analysis, including a state-of-the-art sleep/wake classification algorithm, the uniform manifold approximation and projection (UMAP) dimension reduction method, and the density-based spatial clustering of applications with noise (DBSCAN) clustering method, was applied to the 100,000-arm acceleration dataset. This revealed 16 clusters, including seven different insomnia-like phenotypes. This kind of quantitative pipeline of sleep analysis is expected to promote data-based diagnosis of sleep disorders and psychiatric disorders that tend to be complicated by sleep disorders." https://doi.org/10.1073/pnas.2116729119
      • Also how they preprocessed Axivity AX3 actigraphic data regardless of when sleep happened, maybe can also be applied to sleep diaries!
      • "In this study, we further optimized and applied the algorithm of ACCEL to extract sleep/wake time series data from acceleration data obtained using Axivity, the activity-tracking wristband with a triaxial accelerometer used in the UK Biobank project (27). The original sleep/wake classification algorithm is a machine learning–based algorithm that uses XGBoost and the power spectrum of jerk (a derivative of acceleration) as its features (28). In this study, we simultaneously acquired 27 PSG data and Axivity acceleration data and optimized the sleep/wake classification algorithm for Axivity (SI Appendix, Table S1). The Axivity signal had lower amplitudes in terms of jerk and the power spectrum during sleep epochs than wake epochs, as was shown in a previous study (SI Appendix, Fig. S1 A–C) (28). The XGBoost hyperparameters were optimized to maximize the summation of accuracy and F measure the sleep/wake classification algorithm using Bayesian optimization (SI Appendix, Fig. S1D). We also adopted the nonwear detection algorithm from a previous study (31); this algorithm uses the thresholds of two features, SD and range of acceleration, to predict nonwearing periods. In this study, we analyzed the distributions of these features between wearing and nonwearing periods and demonstrated that the thresholds proposed in the previous study are adaptable to Axivity (SI Appendix, Fig. S1E and F and Table S2). As a result of combining the sleep/wake classification and nonwear detection algorithms, the algorithm used in this study achieved high sensitivity (97.20 ± 2.38%) and specificity (82.19 ± 12.03%); these are the percentages that the algorithm correctly classified sleep epochs as sleep and wake epochs as wake, respectively (SI Appendix, Fig. S1G). We also confirmed that our algorithm shows high performance for acceleration data with a different sampling frequency (SI Appendix, Fig. S1 H and I and Table S3). Moreover, the high specificity of the algorithm allowed us to accurately detect short-term awake episodes during sleep, which had been difficult in previous studies (22–24). We also calculated two standard sleep indexes, total sleep time (TST), and wake after sleep onset (WASO). These are used to characterize sleep structures in PSG-based studies and are also often used to evaluate the performance of sleep/wake classification algorithms (SI Appendix, Fig. S2 A–D) (22–24). In this study, sleep onset and offset were defined from sleep/wake time series data, during which summation of sleep time and awaking time were measured as TST and WASO. Bland–Altman plots show that our algorithm overestimated TST and WASO by only 5.89 and 1.43 min, respectively (SI Appendix, Fig. S2 E and F), which are almost comparable with other previous studies (22–24).
      • Sleep Indexes Extraction. Generally, people take the longest sleep at night, but due to the increased diversity of social life, some people sleep longest during the day (32). In addition, variation in total sleep amount per day, high WASO, and low TST are sometimes considered as hallmarks of sleep disorders (33). To capture the diverse structures of sleep, we converted sleep/wake time series data to a total of 21 sleep indexes, including 17 common sleep indexes representing quantity-related features and four rhythm-related sleep indexes representing circadian rhythm–related features (Fig. 2A and SI Appendix, Table S4)."
      • "The 17 common sleep indexes include the number and length of sleep windows, which represent the time zone of dense sleep (34), and sleep time (ST) and wake time (WT), which represent sleep duration and midawake duration during sleep windows, respectively. In this study, two different sleep windows were considered to capture both long and short sleep windows according to the following procedure (Fig. 2B). Convert wake periods of less than 10 min to sleep periods and vice versa (Fig. 2 B, aand b). The threshold of 10 min was determined by verifying the sensitivity and specificity of the sleep/wake classification algorithm using the pseudo-sleep/wake time series data (SI Appendix, Fig. S3 A–C). Evaluate the length of time gaps between sleep periods. If the duration is less than 60 min, connect them as a sleep window (35) (Fig. 2 B, c). According to the length of each sleep window, name it a short sleep window if shorter than a threshold or a long sleep window if longer than a threshold (Fig. 2 B, d and SI Appendix)."
      • BEST: circadian rhythm approximated indexes from actigraphic recordings: "The rhythm-related sleep indexes adopted in this study (period, amplitude, and phase) are commonly used features in the field of circadian rhythm research (Fig. 2 D–F) (36–39). Period was calculated as the maximum peak of chi-square periodogram (SI Appendix, Fig. S3 D–F) (36). It is usually difficult to obtain the true amplitude of circadian rhythms without various perturbations (such as light illumination). Therefore, amplitude in this study was defined as a coefficient of variation (SD/mean) of wake amount per 10 min, as in a previous study (Fig. 2E) (37), to represent the amplitude of a circadian output to sleep. In the case of data in Fig. 2 D and E, period is 24.00 h, and amplitude is 0.67. To calculate phase, we used the van der Pol limit cycle, which is a classical model for calculating the circadian phase in human studies (38, 39). After fitting data, we defined phase as the duration between the minimum point on the fitted curve (the magenta point in Fig. 2F) and the last noon."
      • BEST CRITICAL: see Figure 2 and explanation (excerpts above), awesome tutorial on how to infer hidden sleep-wake and circadian rhythm parameters from actigraphic recordings!
      • BEST CRITICAL: nonwear algorithm, drastically improved accuracy!
      • BEST CRITICAL SUPER METHODS: ACCEL jerk based method to detect sleep-wake pattern with high accuracy + non-wear detection, by same authors, previous paper to the UK BioBank study https://doi.org/10.1016/j.isci.2021.103727
        • With non-wear detection algorithm: V.T. van Hees, L. Gorzelniak, E.C. Dean Leon, M. Eder, M. Pias, S. Taherian, U. Ekelund, F. Renstrom, P.W. Franks, A. Horsch, et al. Separating movement and gravity components in an acceleration signal and implications for the assessment of human daily physical activity, 2013
        • "Sleep-wake classification algorithm: Triaxial acceleration was converted into jerk data (a derivative of acceleration) and then converted into PS (0–2 Hz in 1/30 Hz segments), which was calculated for each 30 s. The 30-s epoch size was determined to be matched with the epoch size of PSG-based sleep staging. The feature extraction process includes jerk signal development and PS conversion) (Figure 2A). With and without the two processes, a total of four types of features were extracted as follows. Raw norm represents the mean values of the L2 norm of triaxial signals within every 0.5 s. Jerk norm represents the mean values of jerk signals within every 0.5 s. Raw PS represents the PS (0–2 Hz) of the L2 norm of triaxial signals. Jerk PS represents the PS (0–2 Hz) of jerk signals. Therefore, all of raw norm, jerk norm, raw PS and jerk PS features are 60 dimensions, allowing us to compare different features under the same input dimension size. The large feature was obtained by adding PS before and after k = 1, 2, 3, 4 or 5 epochs. The final ACCEL algorithm employs k = 4. Linear regression (LR), multilayer perceptron (MLP), and XGBoost were used as the classifiers. Scikit-learn packages (https://scikit-learn.org/stable/) were used for each implementation. All evaluation of algorithm were calculated with 32 data from one-night measurements (Table S1) by LOOCV. The comparison among LR, MLP, and XGBoost was performed by using scikit-learn and the parameters was set as default value of the package. XGBoost has six hyperparameters: learning_rate, gamma, colsample_bytree, subsample, max_depth, and min_child_weight. These parameters were optimized using Bayesian global optimization with gaussian processes (https://github.com/fmfn/BayesianOptimization) (iteration = 2,000). Each parameter could have a value in the range [0, 1], [0, 5], [0.01, 1], [0.01, 1], [1, 30], and [1, 30]. The parameter set of six hyperparameters was evaluated as the summation of accuracy and F measure by LOOCV. In this process, 32 data was divided into training data set (31 data) and validation data set (1 data) and the performance of XGBoost was obtained by repeating the training and validation 32 times with different validation data. The predicted sleep–wake data were compared with PSG-based sleep–wake data (ground truth) by epoch to epoch. F measure is calculated as the F2 measure, where wake is calculated as true and sleep as false. Sensitivity and specificity represent the performance of sleep and wake detection, respectively. TST for predicted sleep–wake data was calculated with the TST between sleep onset and offset, where the first sleep epoch of more than 15 min is defined as the sleep onset and the first wake epoch of more than 1 h as sleep offset. WASO was calculated as the length of wake duration between sleep and sleep offset."
        • "Non-wear detection: The standard deviation and value range of each accelerometer axis were calculated by shifting the 60-min block by 15 min, and if the standard deviation was less than or equal to a threshold value (standard deviation threshold equals 13 mg) for at least two axes, or if the value range was less than or equal to a threshold value (value range threshold equals 50 mg) for at least two axes, the block was considered a non-wear period. To validate the non-wear detection, we acquired a dataset consisting of five independent, continuous triaxial accelerometer recordings: the recording duration are 14.56 days, 12.09 days, 8.75 days, 11.02 days, and 13.60 days, respectively. In this measurement, the participants were asked to record the non-wear period, which was used as the ground truth. The non-wear detection algorithm was evaluated using four scores, accuracy, F measure, sensitivity, and specificity, for each participant by comparing their timestamps. In this case, sensitivity and specificity show the ability to detect non-wear and wear periods, respectively."
    • BEST METHODS: 1Hz rythmic jerk signal from a tri-axis accelerometer reflects the heart rate at rest! Hence an accelerometer is sufficient to detect heart rate at rest! "Overall, these evaluations indicate that the rhythmic jerk signal can be attributed to the pulse signal and indicate that a simple accelerometer device can acquire pulse information at least when a subject is in the resting state. In the later sections, we will call the ∼1 Hz rhythmic signal of jerk PS as a “pulse-like signal.”" https://doi.org/10.1016/j.isci.2021.103727
    • BEST CRITICAL SUPER VALIDATION: Human chronotype: Comparison of questionnaires and wrist-worn actigraphy, 2021: "Concerning required recording length, features estimated from recordings with 3-week and longer observation periods had sufficient predictive power on unseen data. (...) As actigraphy is considered accurate in sleep-wake cycle detection, we conclude that actigraphy-based chronotyping is appropriate for large-scale studies, especially where higher temporal variability in chronotype is expected." https://doi.org/10.1080/07420528.2021.1992418
    • BEST CRITICAL VALIDATION: Wrist actigraphy has been compared to polysomnography – the “gold standard” for measuring sleep, demonstrating a correlation between subjects in sleep duration over 0.9 in healthy subjects (19) https://pubmed.ncbi.nlm.nih.gov/9293579
    • BEST CRITICAL: The role of actigraphy in the assessment of primary insomnia: a retrospective study, 2014 https://doi.org/10.1016/j.sleep.2013.08.792 -- tst and twak ineffective for discrimination + 2 circadian indices from actigraphy?
      • We presented quantitative actigraphic criteria to assess sleep quality.
      • Terminal wakefulness does not discriminate insomnia patients from normal sleepers.
      • We considered the following actigraphic sleep parameters: time in bed (TIB), sleep-onset latency (SOL), total sleep time (TST), wake after sleep onset (WASO), sleep efficiency (SE), number of awakenings (NWAK), terminal wakefulness (TWAK), fragmentation index (FI), and mean motor activity (MA). We also considered two actigraphic circadian indexes: interdaily stability and intradaily variability. Using the Youden index, we calculated the quantitative actigraphic criteria that performed best for each actigraphic sleep parameter. Finally, we created receiver operating characteristic curves to test the accuracy of each criterion identified.
      • All sleep parameters except TST and TWAK differentiated the two groups of participants, allowing calculation of quantitative actigraphic criteria. There were no differences in the circadian indices.
    • METHOD: to autodetect wakefulness and sleep periods: weighted blanket RCT study 2020 https://doi.org/10.5664/jcsm.8636
      • We defined 2 behavioral states, “sleep” and “wake” based on the recurrence rates calculated using recurrence quantification analysis (RQA), as described by Vanderlei Parro et al.36 This method requires the optimization of 3 parameters: window size (for smoothing the actigraphy data before calculating the recurrence plot), epsilon (the size of the vicinity to define similarity between trajectories in the phase space to derive the binary recurrence plot for RQA), and threshold for binary state classification (“asleep” and “awake”). These parameters are typically optimized by comparing simultaneous recordings of wrist actigraphy and polysomnography, the gold standard for quantitative sleep analysis.37 Polysomnography data were not available for this study, and the psychiatric pathology associated with insomnia in our population precluded the use of parameters optimized on populations of healthy controls available in the literature. Therefore, we used a combination of data-driven parameter optimization and heuristic selection of parameter values. We first smoothed the actigraphy data with a sliding Gauss window (width: 10 minutes). For the binary recurrence plot, we defined trajectories in the phase space to be “similar” if the distance between the points was smaller than the 10th percentile of all distances in the recurrence plot. Last, the threshold used for binary classification of states was determined using Otsu’s method on the recurrence rate. The recurrence rate, calculated as the rate of occurrence of similar trajectories for each datapoint, typically assumes a bimodal distribution, where resting episodes (steady, low-level activity) are characterized by high recurrence rate, while active episodes (variable and relatively intense activity) are characterized by low recurrence rate. Otsu’s method to set the threshold between the 2 states relies on optimization of intraclass variance. Individual thresholds estimated this way were used for binary classification of each datapoint as either “awake” or “asleep.” The calculations for objective parameters of sleep were based on activity recorded between 20:00 and 12:00. The resting period was defined as the timespan between the beginning of the first episode of consolidated sleep longer than 5 minutes (ie, at least 5 consecutive “asleep” datapoints) and the end of the last episode of consolidated sleep longer than 5 minutes. By setting these criteria, we aimed to reduce the bias of including severely fragmented sleep at transitions between consolidated sleep and wake periods. Total sleep time and WASO were estimated as the total number of datapoints labeled as “asleep” or “awake,” respectively, during the resting period.
      • To evaluate daytime activity, we focused on the circadian peak of activity defined as a continuous 10-hour-long recording segment containing the largest amount of activity. We divided the actigraphy recording into contiguous 24-hour segments (midnight to midnight) and smoothed the data with a 10-hour sliding Gaussian window before detecting the circadian peaks. We recorded the total amount of activity recorded during the circadian peak and the time of occurrence of the circadian peak of activity. All parameters were estimated separately for each 24-hour interval, then averaged per participant before statistical analyses. Participants with fewer than 3 consecutive days recorded were excluded because the within-participant variability is very high when intervals shorter than 4 days are analyzed (unpublished observation).
    • METHOD: Criteria for nap identification in infants and young children using 24-h actigraphy and agreement with parental diary, 2016 https://doi.org/10.1016/j.sleep.2015.10.013
    • METHOD: What is segmented sleep? Actigraphy field validation for daytime sleep and nighttime wake, 2016 https://doi.org/10.1016/j.sleh.2016.09.006


Wrist skin temperature Thermocron iButtons

  • Denoising: to clean up noise (denoising) of temperature data from home/wild settings, on humans at home and for circadian rhythm prediction:** "In contrast to most laboratory assessments, it seldom happens that field assessments are free of artefacts. Therefore an automated artefact rejection procedure was applied to exclude extreme drops and rises in temperature. Because of the bimodal rather than normal distribution of the temperature data, no artefact rejection was applied to exclude data more than two or three standard deviations from the mean, but rather a three-step nonparametric method. [...] the three-step artefact rejection procedure resulted in far fewer noisy distal and proximal curves, whereas the variability was maintained. Firstly, the rate of change (ROC) of all subsequent single channel data points was calculated, their quartiles Q25 and Q75, and their interquartile distance (IQRROC). Any data point with a rate of change exceeding 1 time the interquartile distance from Q25 or Q75 was removed. This step resulted in the rejection of very fast drops or increases in temperature. Secondly, in the resulting restricted raw data, the quartiles Q25 and Q75 and their interquartile distance (IQRLEVEL) were calculated. Any data point with a level exceeding 1 time the interquartile distance from Q25 or Q75 was removed. This step resulted in the rejection of very low temperatures. Thirdly, the resulting gaps in the single channels were interpolated linearly followed by an 11-point rectangular smoothing." https://doi.org/10.1016/j.physbeh.2006.04.026
  • Wrist skin temperature using iButton with ax3 to autodetect circadian highs and lows https://eudl.eu/pdf/10.4108/eai.20-5-2019.2282879
  • validity of ibuttons: https://www.researchgate.net/publication/40033570_The_validity_of_wireless_iButtonsR_and_thermistors_for_human_skin_temperature_measurement
  • distal-to-proximal iButtons placement + how to calculate: Evaluation of wireless determination of skin temperature using iButtons, van Marken Lichtenbelt et al, 2006 https://doi.org/10.1016/j.physbeh.2006.04.026
    • But contradicts with the findings of another study showing that proximal temperature is not reliable, maybe confounded by body posture? Axillary and Thoracic Skin Temperatures Poorly Comparable to Core Body Temperature Circadian Rhythm: Results from 2 Adult Populations, 2004 https://doi.org/10.1177%2F1099800403260620
  • TODO ME: autodetect when a drop in temperature precedes wake up time, this is indicative of circadian rhythm, otherwise not if the temperature drops follows the wake up time. Detect sudden drops by using Savitzky-Golay filter:

    def sgfilter(origdata, diffthreshold=2, verbose=False):
        # Compute the Savitzky-Golay filter, a longer window allows us to detect the outbreak earlier (we don't want to miss it and start fitting too late)
        # This essentially detects when there is a big change in the slope of the evolution of the outbreak
        sgdata = savgol_filter(origdata, window_length=5, polyorder=1)
        # Get the first index that surpass a threshold, 2 seems a good value
        firstoutbreak = np.argmax(np.diff(sgdata) > diffthreshold) + 1
        firstoutbreakdate = origdata.index[firstoutbreak]
        if verbose:
            print('Autodetecting outbreak at day %i (%s)' % (firstoutbreak, str(firstoutbreakdate)))
        # Return the sliced data from the pre-outbreak dates
    return origdata[firstoutbreak:], firstoutbreak, firstoutbreakdate

  • how czeisler analyzed temperature: https://sci-hub.tw/https://doi.org/10.1126/science.3726555
  • TAP method, using iButton on the wrist, similar accuracy to polysomnography: https://www.sciencedirect.com/science/article/abs/pii/S0031938413004423 Ambulatory Circadian Monitoring (ACM) based on Thermometry, motor Activity and body Position (TAP): A comparison with polysomnography, 2014
    • BEST TOSEE: all papers using Circadianware platform: https://kronowizard.um.es/kronowizard/plataforma.seam
      • they used the Kronowise watch for light sensing combined with an accelerometer on the arm and iButton for wrist skin temperature
    • BEST CRITICAL VALIDATION AND METHODS: Uncovering Different Masking Factors on Wrist Skin Temperature Rhythm in Free-Living Subjects, 2013 https://www.ncbi.nlm.nih.gov/pubmed/23577201
      • WT = wrist skin temperature: "Although the overall circadian pattern of WT was similar regardless of the masking effects, its amplitude was the rhythmic parameter most affected by environmental conditions. The acrophase and mesor were determined to be the most robust parameters for characterizing this rhythm. In addition, a circadian modulation of the masking effect was found for each masking variable. WT rhythm exhibits a strong endogenous component, despite the existence of multiple external influences. This was evidenced by simultaneously eliminating the influence of activity, body position, light exposure, environmental temperature and sleep. We therefore propose that it could be considered a valuable and minimally-invasive means of recording circadian physiology in ambulatory conditions."
    • Application of Machine Learning Methods to Ambulatory Circadian Monitoring (ACM) for Discriminating Sleep and Circadian Disorders, 2019 https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6916421/
      • Discriminates between 3 types of insomnia and DSPD and typical sleepers!
    • BEST CRITICAL METHODS: Circadian rhythm of wrist temperature in normal-living subjects A candidate of new index of the circadian system, 2008 https://pubmed.ncbi.nlm.nih.gov/18761026/
      • "The most frequent reference variables for human chronotherapy include salivary melatonin or cortisol, urinary 6-sulfatoximelatonin, actimetry and core body temperature (CBT). Recent evidence suggests that sleepiness may be more closely linked to increased peripheral skin temperature than to a core temperature drop, and that distal skin temperature seems to be correlated and phase-advanced with respect to CBT, suggesting that heat loss from the extremities may drive the circadian CBT rhythm."
      • "Each subject wore a wireless iButton sensor attached to the inner side of a sport wristband."
      • "Our results show that the WT rhythm exhibits an inverse phase relationship with OT, and it is phase-advanced by 60 min with respect to OT. WT started to increase in association to bed time and dropped sharply after awakening. A secondary WT increase, independent of feeding, was observed in the early afternoon. In conclusion, WT wireless recording can be considered a reliable procedure to evaluate circadian rhythmicity, and an index to establish and follow the effects of chronotherapy in normal living subjects."
      • WT = wrist skin temperature, OT = oral temperature.
    • A new integrated variable based on thermometry, actimetry and body position (TAP) to evaluate circadian system status in humans, 2010 https://pubmed.ncbi.nlm.nih.gov/21085644/
      • "The disruption of the circadian system in humans has been associated with the development of chronic illnesses and the worsening of pre-existing pathologies. Therefore, the assessment of human circadian system function under free living conditions using non-invasive techniques needs further research."
      • "we also tested the reliability of a single numerical index, the Circadian Function Index (CFI), to determine the circadian robustness."
      • "the CFI proved to be very sensitive to changes in circadian robustness."
    • Wrist skin temperature, motor activity, and body position as determinants of the circadian pattern of blood pressure, 2012 https://pubmed.ncbi.nlm.nih.gov/22734575/
      • Wrist skin temperature can be used to estimate blood pressure patterns! "Thus, these results suggest that the increase in WT produced by heat loss during the rest phase through peripheral skin blood vessels is the result of blood vessel vasodilatation reflexes in response to a shift from a standing to a supine position, together with shift in the circadian sympathetic/parasympathetic balance (nocturnal parasympathetic activation). In conclusion, WT could be considered as a potential new screening procedure to implement the diagnosis of non-dipping BP pattern."
    • https://www.researchgate.net/publication/51460231_Differences_in_Daily_Rhythms_of_Wrist_Temperature_Between_Obese_and_Normal-Weight_Women_Associations_With_Metabolic_Syndrome_Features
      • "Particularly interesting were the marked differences between obese and normal-weight women in the secondary WT peak in the postprandial period (second-harmonic power [P2]), considered as a marker of chronodisruption and of metabolic alterations."
      • "In summary, obese women displayed a lower-quality WT daily rhythm with a more flattened pattern (particularly in the postprandial period) and increased IV, which suggests a greater fragmentation of the rest/activity rhythm compared to normal-weight women. These 24-h changes were associated with higher MetS risk."
    • BEST CRITICAL METHODS: "Nonparametric tests provided more reliable information than cosinor analysis for circadian rhythm assessment in infants." https://doi.org/10.3109/07420528.2011.565895 — the study also used Thermocron iButtons.
      • There are lots of other studies showing that nonparametric tests are more reliable for circadian rhythm assessment.
    • BEST CRITICAL METHODS: WTiO (Wrist skin temperature increase onset) anticipates melatonin production: Circadian phase assessment by ambulatory monitoring in humans: correlation with dim light melatonin onset, 2014 https://pubmed.ncbi.nlm.nih.gov/24164100/
      • "The devices measured skin temperature at wrist level (WT), motor activity and body position on the arm, and light exposure by means of a sensor placed on the chest. Dim light melatonin onset (DLMO) was used to compare and evaluate the accuracy of the ambulatory variables in assessing circadian phase."
      • "An evening increase in WT: WTOnset (WTOn) and "WT increase onset" (WTiO) was found to anticipate the evening increase in melatonin, while decreases in motor activity (Activity Offset or AcOff), body position (Position Offset (POff)), integrative TAP (a combination of WT, activity and body position) (TAPOffset or TAPOff) and an increase in declared sleep propensity were phase delayed with respect to DLMO. The phase markers obtained from subjective sleep (R = 0.811), WT (R = 0.756) and the composite variable TAP (R = 0.720) were highly and significantly correlated with DLMO."
      • "The findings strongly support a new method to calculate circadian phase based on WT (WTiO) that accurately predicts and shows a temporal association with DLMO. WTiO is especially recommended due to its simplicity and applicability to clinical use under conditions where knowing endogenous circadian phase is important, such as in cancer chronotherapy and light therapy."
    • BEST CRITICAL METHODS: Ontogeny and aging of the distal skin temperature rhythm in humans, 2015 https://www.ncbi.nlm.nih.gov/pubmed/25813804
      • "Circadian aging in humans is characterized by a phase advance, accompanied by rhythm fragmentation and flattening."
      • "Circadian system maturation was associated with an increase in amplitude and a reduction in skin temperature during sleep. During adulthood, women showed a more robust pattern (lower fragmentation, and higher night-time temperature, amplitude, circadian function index, and first harmonic relative power); however, these differences were lost with aging, a period of life that was consistently associated with a phase advance of the rhythm. In summary, distal skin temperature pattern can be used as a robust variable to discern between different ages throughout the life."
      • "All adults wore a Thermochron iButton DS1921H (Dallas, Maxim) for skin wrist temperature measurement, which had a precision of ±0.125 °C. This temperature sensor was placed on the wrist of the nondominant hand over the radial artery and isolated from the environmental temperature by a double-sided cotton sport wrist band, as previously described (Martinez-Nicolas et al. 2013). The babies wore the device inside a sock to isolate it from the environmental temperature, as previously described (Zornoza-Moreno et al. 2011). All devices were programmed to sample once every 10 min, and they were worn for three (in the case of babies) or seven consecutive days (remaining groups)." → the cotton sports wristband also shields from ambient temperature!
        • Original ref for the cotton sport wrist band: https://pubmed.ncbi.nlm.nih.gov/23577201/ which itself references: https://pubmed.ncbi.nlm.nih.gov/18761026/
        • BEST CRITICAL METHODS: they using Velcro to attach the iButton to a cotton sports band! "In our experiments iButtons were programmed to sample every 10 min, and were attached to a double-sided cotton sport wrist band using Velcro®, with the sensor face of the iButton being placed over the inside of the wrist, on the radial artery of the non-dominant hand. The non dominant hand was selected to reduce the potential masking effects generated by the higher activity of the dominant hand (i.e. writing in class, manual working...). This procedure guarantees good skin contact with the sensor face of the iButton. Wrist location was selected among other peripheral regions (ankle, sternum, armpit) after several trials performed in our laboratory, since it allows long term recording without significant complaints of discomfort from the subjects. In addition, subjects could easily remove and replace the data logger when necessary (i.e., to have a bath or shower). After one week of monitoring, the information stored in the iButton was transferred through an adapter (DS1402D-DR8, IDC, Spain) to a personal computer using iButton Viewer v. 3.22© 1992–2005 Dallas Semiconductor MAXIM software provided by the manufacturer."
    • BEST CRITICAL METHODS: PhD Thesis: Crosstalk between Synchronizers and the Human Circadian System, D. Antonio Martinez Nicolas, 2014, PhD Thesis http://hdl.handle.net/10201/40027
      • Summary: modern circadian rhythm science introduction + validation of wrist skin temperature as a reliable method for circadian rhythm monitoring, and methods to analyze!
      • CRITICAL: core body temperature versus proximal and distal (wrist) skin temperatures. This shows why proximal temperature such as on the trunk cannot reliably be used to estimate the circadian rhythm. But core body temperature and distal (wrist) skin temperature both can.
  • The validity, reliability, and utility of the iButton® for measurement of body temperature, 2013 https://pubmed.ncbi.nlm.nih.gov/21470909/
    • Sleep-wake periods auto detection from wrist skin temperature? But maybe only when there is circadian alignment? "Sarabia et al. [25] showed that the acrophase of wrist temperature measured using the iButton had a close relationship with the acrophase of sleep as 90% of the subjects in the sample were asleep when their wrist temperature was above 34.80°C (r = 0.90, p < 0.0001). They also showed that the wrist temperature rhythm was maintained even when subjects remained awake for a 24 h period of time. These results indicate that that the sleep period can be deduced roughly from the wrist temperature acrophase."
    • " Proximal skin warming of 1°C was shown to significantly shorten sleep-onset latency by 2.68 min (CI of 1.34–4.03)."
  • BEST BIAS: Wrist temperature more robust to predict circadian rhythm than actigraphy: "As wrist temperature rhythms were not affected by participants’ movements, this supports the usefulness of wrist temperature in more comprehensive and accurate sleep analysis. Lastly, novel two sleep detection algorithms are proposed; one is built solely on wrist temperature, while the other uses features from both wrist temperature and accelerometry. While the wrist temperature alone algorithm performed better than the Mi Band for OAWD, using both data sources showed increases in sleep detection accuracy for all participants it was tested with. Preliminary results show that the wrist temperature has the potential to play a valuable role in better identification and understanding or sleep, including for people with movement-related sleep disorders." Monitoring Circadian Rhythm and Sleep Patterns Using Wrist-worn Temperature and 3-axis Accelerometer Sensors: A Study with Healthy Younger Adults, Healthy Older Adults, and People Living with Dementia, Jing Wei, PhD Thesis at the University of Waterloo, 2019 - also made this paper: https://eudl.eu/pdf/10.4108/eai.20-5-2019.2282879
    • "Our results demonstrate that our algorithm is able to detect wrist temperature increase onset, which appears to occur at the same time for the same person. We also show that temperature increase onset varies between people as does overall temperature patterns between people."
    • "Many people believe in the proverb "Early to bed and early to rise, makes a man healthy, wealthy, and wise". However, according to chronobiology [12], not everyone is genetically suited to the "early to bed and early to rise" lifestyle. In fact, the definition of "early" varies between person to person due to different circadian rhythms. Therefore, it follows that a better sense of our own circadian rhythms could help us manage our sleep/wake times accordingly to get better sleep."
    • "Recently, wrist temperature has been shown to be an effective alternative to measuring Core Body Temperature (CBT), which is the current circadian rhythm phase marker gold standard."
    • "Wrist temperature has been shown to increase at night before people fall asleep and drop drastically when people wake up [14]." JA Sarabia, MA Rol, P Mendiola, and JA Madrid. 2008. Circadian rhythm of wrist temperature in normal-living subjects: A candidate of new index of the circadian system. Physiology & behavior 95, 4 (2008), 570–580
    • "Wrist temperature increase onset (i.e., where the body starts preparing for sleep) has also been shown to be highly correlative to Dim Light Melatonin Onset (DLMO), another circadian phase marker gold standard [11]. Compared to CBT and DLMO, which are done with rectal measurements and saliva analysis respectively, measuring wrist temperature is unobtrusive, convenient, and can be done continuously." 11 = Elisabet Ortiz-Tudela, Antonio Martinez-Nicolas, Manuel Campos, María Ángeles Rol, and Juan Antonio Madrid. 2010. A new integrated variable based on thermometry, actimetry and body position (TAP) to evaluate circadian system status in humans. PLoS computational biology 6, 11 (2010), e1000996.
    • "Ortiz et. al. (2014) proposed a method that integrates temperature and accelerometer sensor data together to determine circadian phase."
    • BEST: combining Axivity AX3 + iButton for temperature near the radial artery of the wrist for circadian rhythm detection via temperature profile: "As there are no available open-data wristbands with a temperature sensor that can measure the temperature of radial artery location, we built our own wristband by modifying a off-the-shelf accelerometer data logger Axivity AX3 sensor (Axivity, York, UK; 100Hz, ±8д, weight: 9g) to include an iButton DS1922L temperature sensor (Maxim, Dallas, US), as can be seen in Figure 1. We 3D printed a holder for the iButton and attached the sensor to the inside of the Axivity wristband. The DS1922L samples data every 5 minutes with resolution of 0.0625℃and sensitivity of 0.5℃. When the participant is wearing the wristband, the temperature sensor stays on the underside of the participant’s wrist and therefore measures the temperature near the radial artery of the wrist."
    • (BEST CRITICAL: note this figure is the only one to show how to place the iButton over the radial artery)
    • "With the rapid development of mobile technology, many commercial smart wristbands or smart watches have developed some form of sleep monitoring. Fitbit and Apple Watch estimate users’ sleep quality based on body movement and heart rate. While these biometrics are useful in evaluating sleep duration, they are an "external observation" of sleep; they can only tell you about how you slept. In other words, current wearables can tell you that you had a bad sleep but as they cannot monitor circadian rhythms, therefore cannot help align your sleep/wake times to match your body’s ideal times with respect to biological processes. In addition, as most sleep detection is based on accelerometer sensors and supervised learning algorithms, existing works [6] suggest that sleep/wake status can be better detected with a personalized algorithm that aligns with our own sleep habits and needs."
    • "Recently, researchers built their own sleep monitoring systems based on programmable commercial Android Wear wristbands [5, 15] by using sensors such as microphones and light sensors to fuse data together and determine light/deep sleep stages. However, there is still little research (e.g., [2, 8]) that have tried to use an integrated single wearable to measure circadian phase indicators and no commercially available wearables exist."
    • "The sleep/wake time from the sleep journal was used as ground truth; however, when participants reported that they forgot to record their sleep/wake time or experienced insomnia, sleep/wake times were extracted from accelerometer data"
    • BEST: 2°C to 5°C of difference between lowest (wake-up) and highest (bedtime) temperatures depending on the participant! For wrist temperature. And very stable intra-individually, but 0.5 standard deviation across subjects.
    • METHOD: "While wrist temperature trends are influenced by circadian rhythms, the wrist region is also exposed to many external factors. For example, the ambient temperature will influence the skin temperature; entering from outside to inside can cause substantial changes in wrist temperature. Factors such as these can "mask" circadian-driven trends of the wrist temperature. Therefore, we needed to create an algorithm that can use a person’s past data to estimate the time of onset of rising wrist temperature, as this mitigates changes from extraneous factors. To achieve this, we averaged wrist temperature for 24-hours (from 3PM to 3PM) for every three days based on timestamps provided by the sensor. Then, we extracted the elevated temperature period (i.e., the person’s sleep period) using the algorithm described in [16] and identified the dip point from the beginning of that period. As shown in our previous work [16], when people delay their sleep, a second and sometimes third dip appears in the rising temperature before sleep onset. In order to identify the first dip point (i.e., the initial rising wrist temperature indicating the body preparing for sleep), we searched for the dip point at one hour, two hours and three hours prior to the onset of sleep, which was taken as the beginning of the stable high-temperature that indicates when a person is asleep. We used findpeaks() in Matlab 2015a to find the dip that had the lowest temperature within each time range. This enabled us to find up to three different dips within one to three hours for the averaged temperature pattern for every three days. For each participant we found the dips for the 14 days of data, after which we calculated the average dip time for the first dip. This average time was considered to be the wrist temperature increase onset for each individual; namely, the start of temperature increase caused by circadian rhythm that indicates the body preparing for sleep." → can't work for non24 because it changes all the time, but the third dip is very interesting!
    • "Regarding sleep quality, people who might be experiencing sleep disturbance score 8 or higher on the PSQI [4]. A visual comparison of participants’ temperature differences and PSQI scores suggests that there is no correlation between sleep/awake temperature difference and sleep quality"
    • "It can be observed that sleep occurred when temperature was elevated and temperature remains relatively stable throughout sleep. The wrist temperature started to rise at different time for the late and early participants. For the late sleeper, onset was around 10:10 PM, while the onset for the early sleep occurred at around 8:10 PM. In addition, both participants’ wrist temperature patterns show a less-smooth temperature increase when they went to sleep late."
    • → linear correlation between time of temperature onset and sleep onset: the later the temperature onset, later will be the sleep onset.

Temperature core body GreenTEG CORE

  • Data quality assessment:
    • use data quality to know if sensor was not well placed at this sample point.
    • compare core and skin temperatures (from same sensor): if skin goes up but core goes down (inversed temperature profile), then exclude because the temperature was still stabilizing. Hence, the rolling derivative over a few samples should be the same sign, if not then exclude sample because did not reach steady-state (check how they do for MRI? I think they also simply detect and exclude).
    • no access to accelerometer for the moment but maybe in the future?
    • see how Czeisler et al did + math model predictive of optimal time for light therapy: https://doi.org/10.1371/journal.pone.0030037
  • Methods:
    • How to calculate dual heat flux temperature from 4 sensors: https://doi.org/10.14326/abe.7.88
    • BEST CRITICAL METHODS: several methods of purification of core body temperature, helps to better see the peaks and trough: Estimates of the daily phase and amplitude of the endogenous component of the circadian rhythm of core temperature in sedentary humans living nychthemerally, 2000 https://pubmed.ncbi.nlm.nih.gov/11543399/
      • "These results reflect the masking effects exerted upon raw temperature data by lifestyle. The extent to which the purification methods enable the endogenous component of a circadian rhythm - and, by implication, the output of the endogenous circadian oscillator - to be estimated in subjects living normally is addressed."
    • Another method, on dual heat flux sensor Tcore placed on the forehead: https://pubmed.ncbi.nlm.nih.gov/34040542/
    • Since it's worn on the torso, need to purify movement artifacts using actigraphy (integrated in GreenTEG CORE but not accessible for most people, but we also have actigraphy in the ECG sensor which is worn very close spatially to the GreenTEG CORE or AX6 on the wrist but it is measuring the distal body movements not the proximal ones): "[...] the solar plexus would be a suitable alternative for this kind of long-term measurement. Since it will be worn on the torso for hours or even longer, the artifact will inevitably cause body movement, so external methods such as simultaneous measurement with an inertial sensor to capture the movement will be helpful to identify the noise and the successive purification." https://doi.org/10.1109/JBHI.2016.2532933
  • Preliminary validations by GreenTEG Core producer: https://www.greenteg.com/coreresearch/ (mirror: https://web.archive.org/web/20210105033254/https://www.greenteg.com/coreresearch/ )
  • ME IDEAS EXPERIMENTS DATA ANALYSIS:
    • how to test whether it measures sleep or circadian rhythm or something else? Check correlation with sleep sessions start time, wake up time and interval contained, should be weak for start time but mid for wake up time and interval contained (sleep sessions generally occur inside the circadian night). But now test whether sleeping in phase with circadian night (ie, start time and wake up time close ~1 ultradian cycle to circadian night start and end times) have a longer duration, if yes then that's a strong hint. Furthermore can test sleep quality, but sleep quality is directly correlated with sleep duration so it's a bit redundant. This would show that when the sleep session is aligned with the device's detected circadian night, the sleep is longer and of increased quality, which would strongly suggests that indeed the device does measure the core body temperature and circadian rhythm, as opposed to just sleep sessions. We cannot verify this on all nights because when the user sleeps outside of the circadian night then we have no way of verifying whether what the device detects as a circadian night is true or false. Can also do a quantitative analysis: compare how sleep duration is related to how close the sleep session is to the circadian night, I expect the further, the shorter sleep, this should show up as a nice inverse linear relationship between sleep-circadian rhythm misalignment and sleep duration.
    • BEST BETTER ANALYSIS: sleep schedule vs circadian night probabilistic window detection from core body temperature and correlation with sleep duration from sleep diary or actigraphy: set an ideal sleep duration, eg 7 to 8h, then apply a probabilistsic model to find the most likely time the circadian night happened with such a duration (can be smaller or longer, but it will match the period with the closest duration and that is the low phase of the core body temperature). Could also be extended to find naps but it's likely more difficult. Then, calculate correlation between sleep diary's or actigraphy's sleep duration and distance or overlap with circadian night as detected by the probabilistic model. My hypothesis is that the most overlapping, the longer sleep and better quality. The opposite should hold true, the less overlapping, the shorter the sleep duration and quality. This would demonstrate that core body temperature indeed reflects the circadian rhythm AND that sleep in circadian misalignment leads to a shorter sleep. I expect that a longer sleep is observed only when at least half of the sleep session overlaps with the circadian rhythm (ie, 3-4h), otherwise if the overlap is less then it should be similar to sleeping in circadian misalignment, with sleep sessions not exceeding 5h. This should provide a nice inverse correlation between sleep-circadian distance and sleep duration. Then can also use sleep diary's tags such as LikelyPartiallyInPhase which means that the user estimates that there is an overlap of about half of the circadian night, but these tags are biased since they are subjective and they often rely on assessing sleep duration and expected circadian night window based on previous days/weeks. And LikelyInPhase should correlate with sleep durations > 6h30 and PartiallyInPhase and OutOfPhase with sleep durations < 6h.
  • ME IDEA: for interventions targeting directly the body temperature (such as Circacadoo's sauna blanket method or heat training suit by GreenTEG CORE), check whether wearing these accelerates/shorten the circadian clock.
  • BEST METHOD: method described by user maxiQS on the DSPD subreddit: https://old.reddit.com/r/DSPD/comments/18mpps5/circadian_rhythm_detection_with_greenteg_core/
> Period calulated by using zeitgeber R package (Wavelet) and cosinor was fitted by using cosinor R package.
> Device worn on the right part of abdomen.
> I discarded values with quality less than 3 and values bigger than 99.5% percentile and lower than 0.5% percentile.
> Circadian night can be clearly seen and siesta dip (16-17) can be seen too.
> Morning and Evening spikes seems to be because of my usual activity - running / gym in the morning and evening walk.

Light sensor on AX6

  • Conversion of readings to lux: https://axivity.com/userguides/ax3/settings/#additional-sensors
  • Methods:
    • BEST METHODS: Daily Light Exposure Patterns Reveal Phase and Period of the Human Circadian Clock, 2017 https://doi.org/10.1177%2F0748730417696787
      • "Establishing individual estimates of circadian phase and period can be time-consuming. We show that circadian phase can be accurately predicted (SD = 1.1 h for dim light melatonin onset, DLMO) using 9 days of ambulatory light and activity data as an input to Kronauer’s limit-cycle model for the human circadian system. This approach also yields an estimated circadian period of 24.2 h (SD = 0.2 h), with longer periods resulting in later DLMOs. A larger amount of daylight exposure resulted in an earlier DLMO. Individuals with a long circadian period also showed shorter intervals between DLMO and sleep timing. When a field-based estimation of tau can be validated under laboratory studies in a wide variety of individuals, the proposed methods may prove to be essential tools for individualized chronotherapy and light treatment for shift work and jetlag applications. These methods may improve our understanding of fundamental properties of human circadian rhythms under daily living conditions."
    • BEST REF: Comparisons of three practical field devices used to measure personal light exposures and activity levels, 2013 https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3892948/

Light sensor Lys or Adaloger (analysis)

  • Very detailed methods in a nature paper: https://doi.org/10.1038/s41598-020-75622-4
  • Spectrometer light analysis packages: Lucas Toolbox: Lucas, R.J.; Peirson, S.N.; Berson, D.M.; Brown, T.M.; Cooper, H.M.; Czeisler, C.A.; Figueiro, M.G.; Gamlin, P.D.; Lockley, S.W.; O’Hagan, J.B. Measuring and using light in the melanopsin age. Trends Neurosci. 2014, 37, 1–9. as used in https://www.researchgate.net/publication/340603112_Accuracy_of_the_GENEActiv_Device_for_Measuring_Light_Exposure_in_Sleep_and_Circadian_Research
  • BEST METHODS: http://hdl.handle.net/10201/40027 "To facilitate the determination of light exposure, the presence/absence of natural light (solar day and night, respectively), and the light intensity analysis, the following ranges were established: very dim light (<10 lux), indoor dim light (10-500 lux), indoor bright light (500-1000 lux), and outdoor bright light (>1000 lux), as described in a previously conducted study (Turner & Mainster, 2008). Environmental light intensities in lux were converted into logarithmic units and averaged every 10 mins to allow comparisons with temperature data."
  • Estimating Representative Group Intrinsic Circadian Period from Illuminance-Response Curve Data https://doi.org/10.1177%2F0748730419886992
  • BEST: math model predictive of optimal time for light therapy compared to CBTmin: https://doi.org/10.1371/journal.pone.0030037
  • BEST CRITICAL METHODS: Phasor analysis to quantify circadian misalignment and disruption relative to bright light exposure: https://doi.org/10.1177/1477153517721598
    • "In 2008, Rea et al.68 proposed a quantitative method for estimating circadian entrainment and disruption in the field. Called phasor analysis, this method permits examination of the relationship between the 24-hour (circadian) light–dark exposure pattern, the stimulus, and the activity–rest pattern. The response is quantified in terms of the phase and magnitude of their joint circular correlation function. The joint circular correlation function is determined by calculating correlations (r, not r2) between the entire, continuously repeating time series of light–dark exposure data and the entire, continuously repeating time series of activity–rest data as one time series is rotated with respect to the other. The circular correlation function is decomposed into its Fourier components from which the 24-hour frequency component can be represented by a vector, called a phasor. The vector length, or phasor magnitude, represents the amount of circadian entrainment exhibited in the light–dark pattern and the associated activity–rest pattern; the greater the phasor magnitude, the stronger the correlation between the light stimulus and the activity response. The vector angle, or phasor angle, reflects the phase relationship between the 24-hour light–dark exposure pattern and the 24-hour activity–rest pattern."
    • Very stable results across species, between shift working humans and jet lagged rats (using an aberrant light exposure schedule).
    • Shorter = lesser magnitude = more circadian disruption (more consecutive nights worked)
    • "After three weeks under these conditions, oral glucose tolerance tests (measured over 120 minutes) showed that glucose area under the curve (AUC) was significantly higher after animals experienced the simulated shift-work schedules compared to the day-shift schedule. More importantly, the results showed a significant negative correlation between phasor magnitude (a measure of circadian entrainment) and glucose AUC (Figure 3). A higher glucose AUC suggests a lower glucose tolerance, which is typically associated with higher risk for type 2 diabetes."
    • "These studies are of utmost importance as they demonstrate how the discussion about light’s effect on human health needs to shift to the relationship between light–dark and activity–rest patterns, and not just focus on LAN exposure and its impact on circadian disruption. Phasor analysis provides a method for quantifying circadian disruption in field and laboratory settings, as well as a bridge between ecological measurements of circadian entrainment in humans and parametric studies of circadian disruption in animal models, including nocturnal rodents."
    • Rea invented the Daysimeter: https://pubmed.ncbi.nlm.nih.gov/18510756/
  • BEST METHODS: "we analysed data from nineteen different laboratory studies that measured melatonin suppression, circadian phase resetting and/or alerting responses in humans to a wide array of stimulus types, intensities and durations with or without pupil dilation. Using newly established SI-compliant metrics to quantify ipRGC-influenced responses to light, we show that melanopic illuminance consistently provides the best available predictor for responses of the human circadian system. In almost all cases, melanopic illuminance is able to fully account for differences in sensitivity to stimuli of varying spectral composition, acting to drive responses that track variations in illumination characteristic of those encountered over civil twilight (~1-1000 lux melanopic equivalent daylight illuminance)." https://doi.org/10.1111/jpi.12655
  • METHODS: "We chose the violet (410 nm) and the blue (440 nm) wavelengths known to be harmful for the retina [28,29], the turquoise blue (480 nm) implicated in circadian rhythms [30], the green light (510 nm) reported to be soothing for photophobic migraineurs [31,32] and also the red light (630 nm). The part of the plate was kept in the dark for the control condition; the red-illuminated part served as a second control since, to our knowledge, there are no data about any damage from red-light exposure. We used the irradiance range that would approximate the real-life conditions. Indeed, according to recent measurements performed in the R&D department of Essilor (personal communication), on a sunny slightly cloudy day, we can easily be exposed to 4.89 mW/cm2 of 380–780 nm light (entire solar visible spectrum) and to 1.28 and 1.4 mW/cm2 of its blue (380–500 nm) and yellow (500–600 nm) spectral parts respectively (at 10 a.m. in the center Paris at the end of May). We set the illumination time at 3 h since longer exposures to violet light were too harmful for cells and the shorter ones did not induce any cell death (Fig. S3)." https://pubmed.ncbi.nlm.nih.gov/30496813/
  • BEST CRITICAL: Behavioral scales subjective sleepiness on the Karolinska Sleepiness Scale (KSS), and performance on a Psychomotor Vigilance Task) are not enough to accurately predict an individual's circadian rhythm. Adding light data is necessary to improve accuracy (as compared to urinary melatonin levels (urinary 6-sulphatoxymelatonin (aMT6s) profiles which is not a great proxy for the circadian rhythm honestly), but even then, the model's accuracy is not great (ie, circadian rhythm prediction from light input is still very hard and mostly unreliable), on a study in shift workers (not even endogenous circadian rhythm disorders which are arguably harder to model since their circadian rhythm may be even more variable): https://pubmed.ncbi.nlm.nih.gov/34111278/
    • "All input constraints produced similar prediction for KSS, with 56%-60% of KSS scores predicted within ±1 on a day and 48%-52% on a night shift. Accurate prediction of an individual's circadian phase required individualized light input. Combinations including light information predicted aMT6s acrophase within ±1 h of the study data for 65% and 35%-47% of nurses on diurnal and nocturnal schedules. Minute-by-minute sleep-wake state overlap between the model and the data was between 81 ± 6% and 87 ± 5% depending on choice of input constraint."
    • Conclusion: predicting the circadian rhythm with current tools is very hard and unreliable! Maybe core body temperature or wrist skin temperature can perform better?
  • BEST TOOL: Tools for simulating human circadian rhythms for a given light schedule https://github.com/Arcascope/HCRSimPY and https://doi.org/10.1177%2F0748730419878298
  • BEST METHODS: How to Report Light Exposure in Human Chronobiology and Sleep Research Experiments. C Gronfrier et al, 2019. https://pubmed.ncbi.nlm.nih.gov/31281903/

ECG and sleep

  • ECG may be an objective estimator of sleep deprivation? And hence how many nights of good sleep are necessary before full recovery?
    • BESTTUTO CRITICAL METHODS: HRV analysis tutorial in Python https://github.com/pickus91/HRV
    • Robust circadian rhythm in heart rate and its variability: influence of exogenous melatonin and photoperiod, 2007 https://pubmed.ncbi.nlm.nih.gov/17542944/
    • python module to analyze ECG data easily, in SleepNon24 notes
    • BEST CRITICAL: PhD Thesis: Crosstalk between Synchronizers and the Human Circadian System, D. Antonio Martinez Nicolas, 2014, PhD Thesis http://hdl.handle.net/10201/40027
      • "The cardiovascular system is the major effector of thermal changes in thermoneutrality. In thermoregulatory terms, blood means heat and cutaneous circulation is the variable heat insulator underneath the skin, which determines, depending on the skin proximity, the heat transference velocity. The cutaneous circulation is regulated by vessels patency that is controlled by the autonomic nervous system. Ambient temperature changes are translated into blood redistribution, if weather becomes cool, blood will be stored in the “core” (trunk) to diminish heat loss by the “shell” (extremities), whereas in warmer conditions blood is redistributed toward the periphery to dissipate heat from the core (Figure 8), which is the same that occurs in wake and sleep conditions (Krauchi, 2007). This blood redistribution is controlled by sympathetic nervous system, which dilates and constricts peripheral vessels in general, and arteriovenous anastomoses more specifically (which are abundant in glabrous skin and are widely innervated by sympathetic nerves)." → heart rate variability HRV (frequenty band between 0.05 and 0.1 Hz, see https://doi.org/10.3389/fnins.2019.00530) may be able to detect the biological night too by detecting when the heat redistribution is active???
      • "In addition, cardiovascular system shows, as it has long been known, circadian modulation in blood pressure and heart rate (Blazquez et al., 2012; Kräuchi et al., 2012; Veerman et al., 1995). Recently, circadian rhythms have also been discovered in vascular tone and cardiac output (Veerman et al., 1995). All these rhythms have a similar pattern with high values during daytime and low values during nighttime. Nowadays, it is suggested that all these rhythms are a consequence of a circadian pattern in the sympathetic tone instead of the sleep-wake or rest-activity cycle dependence (Furlan et al., 1990; Yamasaki et al., 1996). The sympathetic activity pattern is reflected in the heart rate variability rhythm with an inverse pattern, that it is, variability is higher during rest phase (lower sympathetic activity) and lower during activity phase (higher sympathetic activity) (for review see Guo & Stein, 2003)."
    • BEST CRITICAL: heart rate and sleep
      • BEST CRITICAL: "the longer we are awake during the day, the higher our heart rate throughout the night" → more sleep deprivation equals higher heart rate at night! + shows a delay in recovery (or may be due to bad lifestyle habits in the week-end such as alcohol consumption on friday and saturday)
      • Bradycardia and Tachycardia are associated with suboptimal sleep quality!
      • from: https://www.fullpower.com/home/sleep-analytics
    • Respiratory, cardiac, EEG, BOLD signals and functional connectivity over multiple microsleep episodes, 2021 https://doi.org/10.1016/j.neuroimage.2021.118129
    • Work of Kleitman before 1966, seminal work on circadian rhythm, bright light exposure, core body temperature and heart rate: https://doi.org/10.1152/physrev.1966.46.1.128
      • "Kleitman and Ramsaroop (I 34) present a vast accumulation of data on temperature and heart rate, whose circadian rhythms can be closely superimposed
apart from slight interference due to a postprandial rise of pulse rate. For different
subjects the increase in minute pulse rate was between IO and 15 per degree F
increment in rectal temperature; and since temperature is known to affect the
heart rate directly, the pulse rhythm could have been a simple consequence of the
rhythm in temperature. The further observation that during and after a 14day
period of thyroid administration the temperature and pulse rate rose and fell in
parallel does not strengthen the case; the minute pulse rate change was here 26
per degree F, so the parallelism was more probably due to two independent effects
of thyroid hormone. Neither temperature nor pulse rate shows a circadian rhythm
at birth; both become rhythmic at about the same age of 4-6 weeks (I IO) and
increase in amplitude up to perhaps 2 years, although the age at which the rhythms
are established cannot be determined with any high precision.
A complete dissociation between these two periodicities, however, has been
demonstrated (133) in subjects on abnormal time schedules in the Arctic.’ Thus
Kleitman himself, when living on an 18- or 28-hr day, showed a continuing 24-hr
temperature rhythm, while his pulse rate clearly followed an 180 or 28-hr rhythm.
Unfortunately the conditions for these experiments were far from ideal; although
an Arctic summer provided continuous daylight, the subjects were living in a
community in which solar time was all too evident, with empty streets and closed
shops at night. This circadian influence may have maintained the 24-hr rhythm
in temperature. The immediate adaptation of pulse rate to a day of 18 or 28 hr
suggests that there is no endogenous rhythm and that pulse rate is determined
largely by habit, being low during rest and sleep and higher during activity; only
if these influences are small is it also determined by the rhythm of body temperature. "
  • BEST CRITICAL: Effects of circadian disruption on the cardiometabolic system, 2009 https://doi.org/10.1007/s11154-009-9122-8
    • "More recently, Ivanov et al. confirmed a circadian variation in average heart rate (R-R interval) and average standard deviation of inter-beat interval (STDRR) using a 38-hour CR protocol, with the longest R-R intervals (thus slowest HR) and largest STDRR (measure of parasympathetic cardiac modulation) occurring during the biological night [33]. Similar findings with regards to the presence of a clear circadian rhythm in autonomic cardiac modulation have been further supported by FD studies. Hilton et al., using a 27-day FD protocol, showed a circadian rhythm in pNN50 (a parasympathetic cardiac marker; the percentage of consecutive inter-beat intervals differing by more than 50 msec; for technical details see [34]), with a peak during the biological night (equivalent to ∼5 AM) and the trough during the middle of the biological day (∼1 PM to 5 PM) [35]. The authors further showed a marked drop in R-R (i.e., increase in HR) from ∼5 AM to 9 AM. The authors propose that the increase in HR preceding the drop in parasympathetic cardiac modulation may suggest an increase in cardiac sympathetic activity at that time. These observations were also consistent with a stronger daily rhythm in parasympathetic (root mean square of successive differences of the inter-beat interval) as compared to sympathetic (pre-ejection period) cardiac modulation, assessed using a simple and practical protocol designed to minimize masking effects of behavior and environment by measuring cardiac autonomic modulation repeatedly across day and night while minimizing influences of behavioral activity, posture, environmental light, and meal intake [36]."
    • "Specifically, Hu and colleagues studied the scaling exponent α of heartbeat fluctuations under FD conditions (11-day, 28-h cycle) [29]. [...] The scaling exponent displays a circadian pattern, with a peak, i.e. a value closer to a random occurrence of behavior, during the biological morning (equivalent to ∼10 AM), the time window during which epidemiological studies report the peak in adverse cardiac events and strokes and is lost after lesioning the SCN [29, 33, 39]."
    • "a series of laboratory studies in humans showing that (a) HR show a circadian rhythm with low HR during the biological night, i.e. habitual sleep episode, and an increase during the biological day, i.e. habitual wake episode, (b) that the peak in vagal activity occurs during the biological night, whereas the peak of sympathetic activity occurs during the biological day, and (c) the scaling exponent α of heartbeat fluctuations, a potential marker for the risk of an adverse cardiovascular event, exhibits a circadian rhythm with a peak in the morning. Results from animal studies established that (a) the SCN innervates the heart and other organs involved in hemodynamic control, such as kidney, vasculature and adrenal, via a multisynaptic pathway, probably including direct projections form the SCN to the paraventricular nucleus of the hypothalamus (PVN), (b) heart rate shows a circadian rhythm that is not the secondary result of a circadian rhythm in locomotor activity, and that (c) ablation of the SCN leads to abolishment of the circadian rhythm in HR. Light, the major Zeitgeber of the circadian system and melatonin, the body’s internal dark signal, both impact cardiometabolic functioning in humans and animals. Light in humans has been shown to (a) acutely elevate HR, BP, core body temperature and cortisol and suppress melatonin during the biological night but not during the biological day, and (b) phase shift the rhythms of melatonin and cortisol. Correctly timed, light can help to facilitate re-entrainment of circadian rhythms after shift work or jet-lag, and potentially in treating ASPS and DSPS. Exogenous daytime and repeated nighttime melatonin administration has proven to be able to lower BP in normotensive and hypertensive subjects, with nighttime administration most clinically useful. Circadian misalignment, i.e. the mismatch of the circadian system with the desired sleep/wake cycle, is a hallmark of shift work and jet-lag and causes a multitude of negative symptoms and chronic exposure has been associated with several negative health consequences such as increased risk for cardiovascular disease, diabetes, obesity, and certain forms of cancer."
  • Cortical arousal = unconscious wakefulness: “Arousals, irrespective of the underlying mechanism, impact heart rate, blood pressure, and cardiac hemodynamics acutely, but, when frequent, may also disrupt the circadian rhythm of the CV system, which is associated with unfavorable metabolic profiles, such as higher blood pressure, dysregulated blood lipids, and insulin resistance,” said the study authors. https://www.ajmc.com/view/sleep-disturbance-associated-with-increased-risk-of-death-particularly-in-women and https://doi.org/10.1093/eurheartj/ehab151
  • BEST GRAPH: core body temperature (CBT) and heart rate and distal-proximal temperature: Kräuchi K, Cajochen C, Werth E, Wirz-Justice A. Functional link between distal vasodilation and sleep-onset latency? Am J Physiol Regul Integr Comp Physiol. 2000 Mar;278(3):R741-8. doi: 10.1152/ajpregu.2000.278.3.R741. PMID: 10712296. https://pubmed.ncbi.nlm.nih.gov/10712296/ (mirror)
  • METHOD: "Using a mixed-effect cosinor model, the mean amplitude of the circadian pattern of the standard deviation of the interbeat interval of normal sinus beats (SDNN), an HRV metric, differed between subjects with and without COVID-19 (P=.006)." https://www.ncbi.nlm.nih.gov/pubmed/33529156
  • BEST CRITICAL: influences of the circadian rhythm on the heart rate: https://pubmed.ncbi.nlm.nih.gov/22877674/
    • "A circadian rhythm in resting heart rate has been reported by different research groups in healthy humans, with a broad peak occurring during the middle of the biological day and a trough during the biological night (Figs. 2 and ​and3;3; Burgess et al., 1997; Kräuchi and Wirz-Justice, 1994; Scheer et al., 2010; Shea et al., 2011). On the other hand, the reactivity of heart rate to standardized exercise and postural changes is not influenced by the circadian timing system (Fig. 3; Hu et al., 2011; Scheer et al., 2010). Considering that the circadian peak in heart rate does not occur during the biological morning and that heart rate reactivity to behavioral stressors is not under circadian control, it is unlikely that the circadian timing system’s influence on heart rate contributes to the morning peak in adverse cardiovascular events. In rats, there is also a circadian rhythm in resting heart rate under constant dark conditions, thus even independent of the circadian rhythm in behavioral activity (Scheer et al., 2001). After lesioning the SCN, the circadian rhythm is abolished and the level of resting heart rate is intermediate between that during the biological day and night in intact animals. This suggests that the SCN has an inhibitory and excitatory influence on resting heart rate during the biological day and night, respectively. This is reminiscent of the regulation of melatonin and corticosteroids for which the SCN uses both inhibitory (e.g., GABA) and excitatory neurotransmitters (e.g., glutamate; Kalsbeek et al., 1996; Perreau-Lenz et al., 2003)."
    • Trough may indicate circadian night, see fig2
  • Heart rate variability and distal (finger) skin temperature to monitor ultradian cycles and predict fertility: https://pubmed.ncbi.nlm.nih.gov/33230235/
  • BEST METHODS: recommendations to calculate HRV: https://doi.org/10.3389/fpsyg.2017.00213 - recommended by peers at: https://www.researchgate.net/post/Could_anyone_recommend_a_validated_device_to_measure_heart_rate_variability_Preferably_a_portable_device
  • BEST: individualized measure of temperature, mixing heart rate and skin temperature: "we developed a mathematical model that describes the relationships between Tc and noninvasive measurements of an individual’s physical activity, heart rate, and skin temperature, and two environmental variables (ambient temperature and relative humidity). A Kalman filter adapts the model parameters to each individual and provides real-time personalized Tc estimates." https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6032092/
  • BEST METHODS: Predicting body temperature from heart rate only (ECTemp - temperature heart rate) is possible: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6567444/
  • Dynamic heart rate variability: a tool for exploring sympathovagal balance continuously during sleep in men. 1998 https://pubmed.ncbi.nlm.nih.gov/9724299/
  • Temporal relationship between dynamic heart rate variability and electroencephalographic activity during sleep in man. 1997 https://pubmed.ncbi.nlm.nih.gov/9237486/
  • WTF is this BS from Oura??? It's literally like divination from tea leaves, but here from heart rate graph: https://ouraring.com/blog/sleeping-heart-rate/
  • We reveal the presence of bidirectional couplings between the studied processes in all age groups. Our results show that the coupling from respiration to the process of parasympathetic control of the heart rate is stronger than the coupling in the opposite direction. The difference in the strength of bidirectional couplings between the considered processes is most pronounced in deep sleep. https://doi.org/10.3389/fnetp.2022.942700
  • BEST SUPER TOP: sleep deprivation does not affect HRV measures? https://doi.org/10.1161/01.HYP.35.5.1173 But a more recent study found the opposite, using modern day wearables https://doi.org/10.3389/fnins.2021.642548
  • BEST SUPER METHOD HRV by maxiQS: https://blog.kto.to/ecg-hrv-24-7-science-qs

Hypnogram EEG (sleep staging aka sleep scoring)



Other notes

  • circadian body temperature:
    • BEST TOSEE: Measuring circadian rhythm https://pubmed.ncbi.nlm.nih.gov/19268173/
    • BEST TOSEE: How is the circadian rhythm of core body temperature regulated? Kurt Krauchi 2002 editorial http://www.chronobiology.ch/wp-content/uploads/publications/2002_02.pdf
      • "The circadian rhythm of core body temperature (CBT) is a well-documented physiological phenomenon. Already in 1842, Gierse [6] had shown that his own oral temperature revealed a maximum temperature in the early evening and a minimum in the early morning hours with a maximum-minimum range of 0.9 °C. It had been assumed for a long time that muscular activity (exercise) and digestive processes were the most important factors for generation of the CBT rhythm [8]. Aschoff and his colleagues systematically explored the causes of this rhythm [1, 2]. He showed that the circadian rhythm of CBT is determined both by changes in heat production and changes in heat loss, and concluded that heat production undergoes a circadian rhythm which is phase advanced by 1.2h with respect to the circadian rhythm of heat loss, i. e. when heat production surpasses heat loss, CBT increases – transport of heat needs time. Therefore, when we want to explain changes in CBT we need to know the relationship between heat production and heat loss."
    • BEST: SCN and body temperature: Temperature rhythms keep body clocks in sync https://www.sciencedaily.com/releases/2010/10/101014144314.htm + Ref: Temperature as a Universal Resetting Cue for Mammalian Circadian Oscillators. Science, 2010; 330 (6002): 379 DOI: 10.1126/science.1195262
    • The circadian rhythm of body temperature https://doi.org/10.1016/0031-9384(92)90188-8
    • ghrelin and fasting hormones and circadian rhythm: Circadian Body Temperature Rhythm and the Interaction with Energy State https://www.intechopen.com/books/homeostasis-an-integrated-vision/circadian-body-temperature-rhythm-and-the-interaction-with-energy-state
    • The circadian rhythm of body temperature https://pubmed.ncbi.nlm.nih.gov/1523238/
    • Free-running melatonin, sleep propensity, cortisol and temperature rhythms in a totally blind person https://pubmed.ncbi.nlm.nih.gov/1635312/
    • Sleep propensity free-runs with the temperature, melatonin and cortisol rhythms in a totally blind person https://pubmed.ncbi.nlm.nih.gov/1519008/
    • Bright lights accelerate the re-entrainment of circadian clock to 8-hour phase-advance shift of sleep-wake schedule: 1) Circadian rhythms in rectal temperature and plasma melatonin level https://pubmed.ncbi.nlm.nih.gov/1753467/
    • Non-photic entrainment of human circadian clock--effects of forced sleep-wake schedule on the circadian rhythm in plasma melatonin https://pubmed.ncbi.nlm.nih.gov/8752534/
    • Model: Non-photic entrainment of human circadian clock--effects of forced sleep-wake schedule on the circadian rhythm in plasma melatonin https://pubmed.ncbi.nlm.nih.gov/8752534/
    • BEST: More than a marker: interaction between the circadian regulation of temperature and sleep, age-related changes, and treatment possibilities https://pubmed.ncbi.nlm.nih.gov/10841209/
      • "The neurobiological mechanisms of both sleep and circadian regulation have been unraveled partly in the last decades. A network of brain structures, rather than a single locus, is involved in arousal state regulation, whereas the suprachiasmatic nucleus (SCN) has been recognized as a key structure for the regulation of circadian rhythms. Although most models of sleep regulation include a circadian component, the actual mechanism by which the circadian timing system promotes--in addition to homeostatic pressure--transitions between sleep and wakefulness remains to be elucidated."
      • "A review of the literature shows that increased brain temperature is associated with a type of neuronal activation typical of sleep in some structures (hypothalamus, basal forebrain), but typical of wakefulness in others (midbrain reticular formation, thalamus). Not only local temperature, but also skin temperature are related to the activation type in these structures. Warming of the skin is associated with an activation type typical of sleep in the midbrain reticular formation, hypothalamus, and cerebral cortex (CC). The decreasing part of the circadian rhythm in core temperature is mainly determined by heat loss from the skin of the extremities, which is associated with strongly increased skin temperature. As such, alterations in core and skin temperature over the day could modulate the neuronal activation state or "preparedness for sleep" in arousal-related brain structures. Body temperature may thus provide a third signaling pathway, in addition to synaptic and neurohumoral pathways, for the circadian modulation of sleep."
      • "Finally, the model indicates that appropriately timed direct (passive heating) or indirect (bright light, melatonin, physical activity) manipulation of the nocturnal profile of skin and core temperature may be beneficial to disturbed sleep in the elderly. Although such procedures could be viewed by researchers as merely masking a marker for the endogenous rhythm, they may in fact be crucial for sleep improvement in elderly subjects."
    • Control of slow wave sleep by thermoregulatory mechanisms https://pubmed.ncbi.nlm.nih.gov/2377644/
    • External temperature also influences our circadian rhythms, study reports https://www.zmescience.com/science/temperature-circadian-rhythm/
    • Figure 3 of http://www.aulamedica.es/nh/pdf/8776.pdf shows temperature gets higher in anticipation to sleep and in afternoon, using wrist limb skin temperature + methods such as cosinor and mesor (midline estimating statistic of rhythms)
    • Researchers at UT Southwestern Medical Center have found that fluctuations in internal body temperature regulate the body's circadian rhythm, the 24-hour cycle that controls metabolism, sleep and other bodily functions. Temperature rhythms keep body clocks in sync https://www.sciencedaily.com/releases/2010/10/101014144314.htm
    • Proximal skin temperature followed the same circadian rhythm as rectal temperature + temperature link with ecg: Circadian rhythm of heat production, heart rate, and skin and core temperature under unmasking conditions in men, 1994, Krauchi & Wirz-Justice https://pubmed.ncbi.nlm.nih.gov/8092328/

My notes

TODO:

  • temperature 2 ibuttons en plus: 1 sur trunk internal, 1 sur bras external (skin temperature). + GreenTEG Core en meme temps, pourra comparer.
  • BEST CRITICAL: wrist skin temperature using iButton on the AX6 watch using velcro, this may allow to detect the circadian rhythm! See https://pubmed.ncbi.nlm.nih.gov/18761026/ and https://pubmed.ncbi.nlm.nih.gov/23577201/ and especially WTiO (Wrist skin temperature increase onset) which anticipates melatonin production: https://pubmed.ncbi.nlm.nih.gov/24164100/
    • To summarize: wrist skin temperature (WTiO) can detect start of biological night (associated with the DLMO), and minimal core body temperature (CBTmin) the end (light therapy)! It can also detect the siesta time, which is independent from feeding time!
    • BEST CRITICAL: wrist skin temperature (distal temperature) placement using Velcro to attach the iButton to a cotton sports wristband! + one sample every 10min is very fine! So every 5min is even better! https://pubmed.ncbi.nlm.nih.gov/18761026/
    • proximal body temperature does NOT work, see figure 7, need to use core body temperature or distal (wrist) skin temperature!
  • Proximal iButton try back or neck, better than trunk: https://pubmed.ncbi.nlm.nih.gov/33061911/
  • BEST CRITICAL: arduino DIY light sensor rethink with a light intensity sensor with blue-green light filter, to directly get the intensity of exposure to blue-light! https://www.researchgate.net/publication/334043969_Determining_Light_Intensity_Timing_and_Type_of_Visible_and_Circadian_Light_From_an_Ambulatory_Circadian_Monitoring_Device
    • cut filter from red laser glasses, find one glasses with guaranteed range so that I know exactly what is filtered, I should mimic as closely as possible the range they had in this study.
  • BEST IDEA WEARABLE ME ALL-IN-ONE: make my own ECG optical + thermistor + 3-axis accelerometer on armband with microsd card and bluetooth streaming using an arduino-like board with breakouts, this should be sufficient to capture skin temperature + RR intervals (heart rate and heart rate variability) + activity (sleep-wake phases - actigraphy). First confirm that these measures work to monitor the circadian rhythm (and determine with what algorithms), then I can try to make this all-in-one wearable with both data storage for offline analysis and online streaming via bluetooth for users to monitor in real-time their circadian rhythm (and stream the history too this is necessary).
    • IT EXISTS! Except for ECG. Recommend for researchers this all-in-one system: ACM KRONOWISE® 2.0 watch, all-in-one system for circadian rhythm study and assessment, combined with the Circadianware platform for light sensing, wrist skin temperature and 3-axis actigraphy! Used in lots of research studies already with Circadianware software: http://www.kronohealth.com/productos-y-servicios/
  • CircaLog
  • Polar H10 ECG and accelerometer BLE receiver Android app long term recording
  • MY OBSERVATIONS:
    • GreenTEG Core: core temperature decreases and stays low when biological night or nap, but rises up when waking up in the middle of the night or when awake. A rise of core temperature (at an odd time such as before the usual time for the biological night) indicates an energy boost.
    • ECG: heart rate low and stable when asleep, but starts to become higher and more variable in the last cycle or even before if sleeping outside of the biological night, may be usable as a metric to indicate if one is sleeping under the biological night?