This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
from pathlib import Path | |
import numpy as np | |
from scipy.misc import electrocardiogram | |
from enum import IntEnum | |
from pyedflib import highlevel | |
class SleepStage(IntEnum): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) | |
int main(void) | |
{ | |
size_t l = ARRAY_SIZE("[xxx.xxx.xxx.xxx], ns [xxx.xxx.xxx.xxx, xxx.xxx.xxx.xxx]"); | |
printf("ARRAY_SIZE(\"[xxx.xxx.xxx.xxx], ns [xxx.xxx.xxx.xxx, xxx.xxx.xxx.xxx]\") = %lu\n", l); | |
} |