{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "f4aa15bf-44c4-4b7c-a021-2ed05502e1b4", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Welcome to JupyROOT 6.24/06\n" ] } ], "source": [ "import ROOT\n", "%jsroot on" ] }, { "cell_type": "code", "execution_count": 2, "id": "7d0a4df2-3d76-438d-8939-09456cc1570f", "metadata": {}, "outputs": [], "source": [ "from array import array" ] }, { "cell_type": "code", "execution_count": 3, "id": "46298ca2-b119-45f1-a1e0-5307137fbd94", "metadata": {}, "outputs": [], "source": [ "import numpy as np" ] }, { "cell_type": "code", "execution_count": 4, "id": "4b41cc47-a08c-4023-8a11-6e90ccf3eac1", "metadata": {}, "outputs": [], "source": [ "import math" ] }, { "cell_type": "code", "execution_count": 5, "id": "0fe73f67-e3d3-49a5-aa9a-2df79722c70b", "metadata": {}, "outputs": [], "source": [ "testFunction = ROOT.TF1('tf','[0]*x*exp([1]*x)',-10,10)\n", "testFunction.SetParameter(0,0.1)\n", "testFunction.SetParameter(1,0.7)" ] }, { "cell_type": "code", "execution_count": 6, "id": "3008818c-1484-4a0e-9515-5428a558c4ee", "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", "\n", "