From 960a1e4c3f4ce006e3aee9cd425f8040da252ee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Rogn=C3=A5s?= Date: Thu, 5 Sep 2024 22:48:01 +0200 Subject: [PATCH] Add surge and rythm snippets --- snippets/snippets.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/snippets/snippets.json b/snippets/snippets.json index 28361b3..c016214 100644 --- a/snippets/snippets.json +++ b/snippets/snippets.json @@ -271,6 +271,20 @@ ], "description": "Imax equation\n" }, + "Diurnal cos-rythm": { + "prefix": ["diurnal"], + "body": [ + "x = THETA(base_x) * (1 + THETA(amplitude) * COS((TIME - THETA(peak_time)) * 2 * PI / period))" + ], + "description": "Diurnal cos-rythm\n" + }, + "Surge model": { + "prefix": ["surge"], + "body": [ + "x = THETA(amplitude) / (((TIME - THETA(peak_time)) * THETA(peak_width))**SHAPE + 1)" + ], + "description": "Surge model\n" + }, "Logit IIV": { "prefix": ["logit_iiv"], "body": [