Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ print(activity["activity_type"], activity["score"])
| --- | --- | --- |
| `weekly` | `list[dict]` with `day`, `hour`, and `count` | `day` is `0` through `6`; `hour` is `0` through `23`; buckets are interpreted as UTC. |
| `yearly` | `dict` with `year`, `max`, and `nb` | `nb` is a list of `[YYYY-MM-DD, count]` pairs. Missing days inside the observed range are filled as zero activity. |
| `timestamps` | `list[str | int | float]` | Strings are parsed as UTC timestamps; numbers are Unix epoch seconds in UTC. |
| `timestamps` | `list[str \| int \| float]` | Strings are parsed as UTC timestamps; numbers are Unix epoch seconds in UTC. |

Invalid inputs raise `tempolocus.core.DetectionError`, a subclass of
`ValueError`. Catch it around user-supplied data if you need to return a custom
Expand Down
Loading