|
parser.add_argument('--freq', type=str, action='store', default='15T', help='Frequency of the actogram. Default is 15T (15 minutes).') |
|
|
|
parser.add_argument('--start', type=str, action='store', default='2021-08-01', help='Start date of the actogram. Default is 2021-08-01.') |
|
parser.add_argument('--end', type=str, action='store', default=None, help='End date of the actogram. Default is None (today).') |
|
|
|
parser.add_argument('--hourly_blur', type=int, action='store', default=False, help='Hourly blur of the actogram. Default is 0 (no blur).') |
|
parser.add_argument('--daily_blur', type=int, action='store', default=False, help='Daily blur of the actogram. Default is 0 (no blur).') |
|
parser.add_argument('--normalize', type=int, action='store', default=True, help='Normalize the actogram. Default is True (normalize).') |
|
|
|
parser.add_argument('--png', action='store_true', default=True, help='Save the actogram as a png. Default is True (save).') |
|
parser.add_argument('--csv', action='store_true', default=True, help='Save the actogram as a csv. Default is True (save).') |
|
parser.add_argument('--show', action='store_true', default=True, help='Show the actogram in a window just after generation. Default is True (show).') |
|
parser.add_argument('--printer_friendly', action='store_true', default=False, help='Printer friendly actogram (black and white). Default is False (no).') |
|
parser.add_argument('--landscape', action='store_true', default=True, help='Orientation of the plot: True is horizontal, False is vertical. Default is True (horizontal).') |
|
parser.add_argument('--legacy', action='store_true', default=False, help='Use old internal method to import browser histories data. If false, will use browser-history external module (more browsers supported and all profiles are imported). Default: False (no).') |
There are discrepancies between the command line options documented in the readme and the ones that actually exist in the code.
The documentation:
webactogram/README.md
Lines 97 to 109 in 2699eb7
The code:
webactogram/src/webactogram/webactogram.py
Lines 802 to 816 in 2699eb7
The discrepancies:
--startoption in code is referred to as--start_datein docs--endoption in code isn't in docs--period_bluroption in docs isn't in code--dimsoption in docs isn't in code--pngoption in code isn't in docs--csvoption in code isn't in docs--showoption in code isn't in docs--landscapeoption in code isn't in docs--legacyoption in code isn't in docs