{ "cells": [ { "cell_type": "markdown", "id": "0f18ddb6-6f8f-44b1-9083-c86b9ae657ac", "metadata": {}, "source": [ "# Sinusoid" ] }, { "cell_type": "markdown", "id": "fb0ada15-3643-4b61-b962-af80bd318097", "metadata": {}, "source": [ "`lamatrix` provides a Sinusoid model which can be used to capture periodic variability. This model enables you to fit for the amplitude of sinusoids, but is not linear in the period of the sinusoid. " ] }, { "cell_type": "code", "execution_count": 2, "id": "ae5d5c89-f880-4c50-9a53-bc4171ec3086", "metadata": {}, "outputs": [], "source": [ "import numpy as np\n", "import matplotlib.pyplot as plt\n", "x = np.arange(-10, 10, 0.01)\n", "\n", "\n", "from lamatrix import Sinusoid" ] }, { "cell_type": "code", "execution_count": 5, "id": "3241dc64-c209-4971-8a2c-f036d0324b47", "metadata": {}, "outputs": [ { "data": { "text/html": [ "