Skip to content

Commit

Permalink
Update snippets.json
Browse files Browse the repository at this point in the history
  • Loading branch information
vrognas committed Sep 6, 2024
1 parent edb1811 commit bc1f478
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snippets/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -274,14 +274,14 @@
"Diurnal cos-rythm": {
"prefix": ["diurnal"],
"body": [
"x = THETA(base_x) * (1 + THETA(amplitude) * COS((TIME - THETA(peak_time)) * 2 * PI / period))"
"x = THETA(${1:base_x}) * (1 + THETA(${2:amplitude}) * COS((TIME - THETA(${3: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)"
"x = THETA(${1:amplitude}) / (((TIME - THETA(${2:peak_time})) * THETA({$3:peak_width}))**SHAPE + 1)"
],
"description": "Surge model\n"
},
Expand Down

0 comments on commit bc1f478

Please sign in to comment.