Skip to content
Merged
Show file tree
Hide file tree
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 @@ -68,7 +68,7 @@ where `x` is data, `dt` is a step size, and various keyword arguments control th
| `tvrdiff` | ✓ | | | ✓ | | ✓ |
| `rtsdiff` | ✓ | ✓ | ✓ | | ✓ | |
| `robustdiff` | ✓ | ✓ | ✓ | ✓ | | ✓ |
| `lineardiff` | | | | | | ✓ |
| `lineardiff` | | | | | | ✓ |

There is also presently a swathe of deprecated methods. Don't use them, but if you do you'll just get warnings telling you how to use whichever new-and-improved version. There are also a few minor methods kept for general interest (`iterative_velocity` and `smooth_acceleration`) but in practice dominated by or redundant with others from the table.

Expand Down
200 changes: 176 additions & 24 deletions notebooks/1_basic_tutorial.ipynb

Large diffs are not rendered by default.

343 changes: 287 additions & 56 deletions notebooks/2_optimizing_hyperparameters.ipynb

Large diffs are not rendered by default.

124 changes: 70 additions & 54 deletions notebooks/3_automatic_method_suggestion.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
"id": "9b5378b3",
"metadata": {
"execution": {
"iopub.execute_input": "2026-08-28T16:40:30.994346Z",
"iopub.status.busy": "2026-08-28T16:40:30.993946Z",
"iopub.status.idle": "2026-08-28T16:40:34.316218Z",
"shell.execute_reply": "2026-08-28T16:40:34.315371Z"
"iopub.execute_input": "2026-08-29T00:46:56.672370Z",
"iopub.status.busy": "2026-08-29T00:46:56.672021Z",
"iopub.status.idle": "2026-08-29T00:46:59.945492Z",
"shell.execute_reply": "2026-08-29T00:46:59.944436Z"
}
},
"outputs": [],
Expand Down Expand Up @@ -62,10 +62,10 @@
"id": "3a570081",
"metadata": {
"execution": {
"iopub.execute_input": "2026-08-28T16:40:34.319085Z",
"iopub.status.busy": "2026-08-28T16:40:34.318760Z",
"iopub.status.idle": "2026-08-28T16:40:34.324658Z",
"shell.execute_reply": "2026-08-28T16:40:34.324159Z"
"iopub.execute_input": "2026-08-29T00:46:59.948748Z",
"iopub.status.busy": "2026-08-29T00:46:59.948380Z",
"iopub.status.idle": "2026-08-29T00:46:59.954733Z",
"shell.execute_reply": "2026-08-29T00:46:59.954218Z"
}
},
"outputs": [],
Expand Down Expand Up @@ -97,10 +97,10 @@
"id": "33705a1d",
"metadata": {
"execution": {
"iopub.execute_input": "2026-08-28T16:40:34.326989Z",
"iopub.status.busy": "2026-08-28T16:40:34.326665Z",
"iopub.status.idle": "2026-08-28T16:44:00.763108Z",
"shell.execute_reply": "2026-08-28T16:44:00.762339Z"
"iopub.execute_input": "2026-08-29T00:46:59.957176Z",
"iopub.status.busy": "2026-08-29T00:46:59.956835Z",
"iopub.status.idle": "2026-08-29T00:51:01.548213Z",
"shell.execute_reply": "2026-08-29T00:51:01.547561Z"
}
},
"outputs": [
Expand All @@ -109,119 +109,127 @@
"output_type": "stream",
"text": [
"\r",
" 0%| | 0/13 [00:00<?, ?it/s]"
" 0%| | 0/14 [00:00<?, ?it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
" 8%|▊ | 1/13 [00:04<00:48, 4.08s/it]"
" 7%|▋ | 1/14 [00:04<00:55, 4.25s/it]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
" 15%|█ | 2/13 [00:11<01:03, 5.80s/it]"
" 14%|█ | 2/14 [00:10<01:07, 5.65s/it]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
" 23%|██ | 3/13 [00:22<01:23, 8.36s/it]"
" 21%|██ | 3/14 [00:21<01:28, 8.05s/it]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
" 31%|██ | 4/13 [00:29<01:12, 8.00s/it]"
" 29%|██ | 4/14 [00:29<01:17, 7.74s/it]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
" 38%|███ | 5/13 [00:38<01:04, 8.07s/it]"
" 36%|███ | 5/14 [00:36<01:09, 7.74s/it]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
" 46%|████ | 6/13 [00:42<00:47, 6.85s/it]"
" 43%|████ | 6/14 [00:41<00:52, 6.58s/it]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
" 54%|█████ | 7/13 [00:55<00:53, 8.95s/it]"
" 50%|█████ | 7/14 [00:54<01:00, 8.71s/it]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
" 62%|██████▏ | 8/13 [01:01<00:40, 8.01s/it]"
" 57%|█████ | 8/14 [00:59<00:46, 7.76s/it]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
" 69%|██████ | 9/13 [01:06<00:27, 6.95s/it]"
" 64%|██████ | 9/14 [01:04<00:33, 6.71s/it]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
" 77%|███████ | 10/13 [01:22<00:29, 9.69s/it]"
" 71%|███████ | 10/14 [01:18<00:35, 8.92s/it]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
" 85%|████████▍ | 11/13 [01:48<00:29, 14.69s/it]"
" 79%|███████| 11/14 [01:44<00:42, 14.29s/it]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
" 92%|█████████▏| 12/13 [02:19<00:19, 19.80s/it]"
" 86%|████████| 12/14 [02:15<00:38, 19.47s/it]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"100%|█████████| 13/13 [03:26<00:00, 33.96s/it]"
" 93%|█████████| 13/14 [03:16<00:31, 31.84s/it]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"100%|██████████| 13/13 [03:26<00:00, 15.88s/it]"
"100%|██████████| 14/14 [04:01<00:00, 35.89s/it]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"100%|██████████| 14/14 [04:01<00:00, 17.25s/it]"
]
},
{
Expand All @@ -242,10 +250,10 @@
"id": "a735eb6a",
"metadata": {
"execution": {
"iopub.execute_input": "2026-08-28T16:44:00.765707Z",
"iopub.status.busy": "2026-08-28T16:44:00.765423Z",
"iopub.status.idle": "2026-08-28T16:44:01.640436Z",
"shell.execute_reply": "2026-08-28T16:44:01.639916Z"
"iopub.execute_input": "2026-08-29T00:51:01.550773Z",
"iopub.status.busy": "2026-08-29T00:51:01.550516Z",
"iopub.status.idle": "2026-08-29T00:51:02.348379Z",
"shell.execute_reply": "2026-08-29T00:51:02.347857Z"
}
},
"outputs": [
Expand Down Expand Up @@ -287,10 +295,10 @@
"id": "3721a110",
"metadata": {
"execution": {
"iopub.execute_input": "2026-08-28T16:44:01.642928Z",
"iopub.status.busy": "2026-08-28T16:44:01.642693Z",
"iopub.status.idle": "2026-08-28T16:47:30.050600Z",
"shell.execute_reply": "2026-08-28T16:47:30.049980Z"
"iopub.execute_input": "2026-08-29T00:51:02.350939Z",
"iopub.status.busy": "2026-08-29T00:51:02.350705Z",
"iopub.status.idle": "2026-08-29T00:55:16.093346Z",
"shell.execute_reply": "2026-08-29T00:55:16.092166Z"
}
},
"outputs": [
Expand All @@ -299,119 +307,127 @@
"output_type": "stream",
"text": [
"\r",
" 0%| | 0/13 [00:00<?, ?it/s]"
" 0%| | 0/14 [00:00<?, ?it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
" 7%|▋ | 1/14 [00:04<00:58, 4.46s/it]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
" 8%|▊ | 1/13 [00:05<01:01, 5.09s/it]"
" 14%|█▍ | 2/14 [00:11<01:15, 6.26s/it]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
" 15%|█ | 2/13 [00:12<01:11, 6.52s/it]"
" 21%|██▏ | 3/14 [00:23<01:35, 8.64s/it]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
" 23%|██ | 3/13 [00:24<01:27, 8.77s/it]"
" 29%|██ | 4/14 [00:32<01:28, 8.80s/it]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
" 31%|███ | 4/13 [00:32<01:19, 8.80s/it]"
" 36%|███ | 5/14 [00:42<01:24, 9.37s/it]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
" 38%|███ | 5/13 [00:43<01:14, 9.30s/it]"
" 43%|████▎ | 6/14 [00:47<01:01, 7.63s/it]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
" 46%|████ | 6/13 [00:47<00:53, 7.63s/it]"
" 50%|████ | 7/14 [00:58<01:02, 8.87s/it]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
" 54%|█████ | 7/13 [00:59<00:54, 9.04s/it]"
" 57%|█████ | 8/14 [01:04<00:47, 7.84s/it]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
" 62%|██████ | 8/13 [01:05<00:40, 8.06s/it]"
" 64%|██████ | 9/14 [01:08<00:34, 6.85s/it]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
" 69%|██████▉ | 9/13 [01:10<00:28, 7.07s/it]"
" 71%|███████▏ | 10/14 [01:23<00:36, 9.16s/it]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
" 77%|███████ | 10/13 [01:25<00:28, 9.50s/it]"
" 79%|███████ | 11/14 [01:49<00:42, 14.29s/it]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
" 85%|████████ | 11/13 [01:50<00:28, 14.40s/it]"
" 86%|████████ | 12/14 [02:16<00:36, 18.39s/it]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
" 92%|█████████▏| 12/13 [02:18<00:18, 18.59s/it]"
" 93%|█████████▎| 13/14 [03:24<00:33, 33.29s/it]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"100%|██████████| 13/13 [03:28<00:00, 34.01s/it]"
"100%|██████████| 14/14 [04:13<00:00, 38.11s/it]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"100%|██████████| 13/13 [03:28<00:00, 16.03s/it]"
"100%|██████████| 14/14 [04:13<00:00, 18.12s/it]"
]
},
{
Expand All @@ -432,10 +448,10 @@
"id": "5b2bb06b",
"metadata": {
"execution": {
"iopub.execute_input": "2026-08-28T16:47:30.053365Z",
"iopub.status.busy": "2026-08-28T16:47:30.053048Z",
"iopub.status.idle": "2026-08-28T16:47:30.551706Z",
"shell.execute_reply": "2026-08-28T16:47:30.551231Z"
"iopub.execute_input": "2026-08-29T00:55:16.096979Z",
"iopub.status.busy": "2026-08-29T00:55:16.096685Z",
"iopub.status.idle": "2026-08-29T00:55:16.657242Z",
"shell.execute_reply": "2026-08-29T00:55:16.656778Z"
}
},
"outputs": [
Expand Down
Loading