Skip to content

Commit c0ff6fd

Browse files
Refactor calculator.ipynb to improve Colab integration and update installation command
Removed unnecessary newline in the Colab badge section and changed the installation command from `!pip` to `%pip` for better compatibility in Jupyter environments.
1 parent cf28844 commit c0ff6fd

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Uncertainty Calculator
22

3-
[![Python 3.12+](https://img.shields.io/badge/Python-3.12+-blue.svg?logo=python&logoColor=white)](https://www.python.org/downloads/release/python-3120/) [![CI Status](https://github.com/fridrichmethod/UncertaintyCalculator/workflows/CI/badge.svg)](https://github.com/fridrichmethod/UncertaintyCalculator/actions) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/FridrichMethod/UncertaintyCalculator/blob/main/calculator.ipynb)
3+
[![Python 3.12+](https://img.shields.io/badge/Python-3.12+-blue.svg?logo=python&logoColor=white)](https://www.python.org/downloads/release/python-3120/) [![CI Status](https://github.com/fridrichmethod/UncertaintyCalculator/workflows/CI/badge.svg)](https://github.com/fridrichmethod/UncertaintyCalculator/actions) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/FridrichMethod/UncertaintyCalculator/blob/main/calculator.ipynb)
44

55
A Python tool for automated error propagation in physical experiments. This calculator uses symbolic differentiation to compute partial derivatives and propagate uncertainties, generating detailed LaTeX output for your reports.
66

calculator.ipynb

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,14 @@
55
"id": "a34b649d",
66
"metadata": {},
77
"source": [
8-
"<a href=\"https://colab.research.google.com/github/FridrichMethod/UncertaintyCalculator/blob/main/calculator.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>\n",
9-
"\n",
8+
"<a href=\"https://colab.research.google.com/github/FridrichMethod/UncertaintyCalculator/blob/main/calculator.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
9+
]
10+
},
11+
{
12+
"cell_type": "markdown",
13+
"id": "e56cf1ba",
14+
"metadata": {},
15+
"source": [
1016
"# Uncertainty Calculator\n",
1117
"\n",
1218
"> Copyright <https://github.com/FridrichMethod>."
@@ -20,7 +26,7 @@
2026
"outputs": [],
2127
"source": [
2228
"# Install the package from GitHub\n",
23-
"!pip install git+https://github.com/FridrichMethod/UncertaintyCalculator.git"
29+
"%pip install git+https://github.com/FridrichMethod/UncertaintyCalculator.git"
2430
]
2531
},
2632
{

0 commit comments

Comments
 (0)