diff options
| author | Christian Kolset <christian.kolset@gmail.com> | 2025-08-29 12:41:42 -0600 |
|---|---|---|
| committer | Christian Kolset <christian.kolset@gmail.com> | 2025-08-29 12:41:42 -0600 |
| commit | 29870f542da6f1ec4dd028a4255143b638f48ba8 (patch) | |
| tree | d9d904adcbc9c43f14c73102d126aab0ca1a6c70 /tutorials | |
| parent | 187d17f16c90a4e2dfc49e280445e027b53ec86c (diff) | |
Updated canvas to actually refer to the notes in the vault.
This results in the label creation at the top header to reference when showing the block.
Diffstat (limited to 'tutorials')
24 files changed, 104 insertions, 2 deletions
diff --git a/tutorials/module_1/1_excel_to_python.md b/tutorials/module_1/1_excel_to_python.md index 2bf6a0d..ab21953 100644 --- a/tutorials/module_1/1_excel_to_python.md +++ b/tutorials/module_1/1_excel_to_python.md @@ -1,5 +1,7 @@ # Excel to Python +^d7d771 + - Importing - Plotting diff --git a/tutorials/module_1/array.md b/tutorials/module_1/array.md index 164d53d..dc1af96 100644 --- a/tutorials/module_1/array.md +++ b/tutorials/module_1/array.md @@ -1,5 +1,7 @@ # Arrays +^4c97f8 + In computer programming, an array is a structure for storing and retrieving data. We often talk about an array as if it were a grid in space, with each cell storing one element of the data. For instance, if each element of the data were a number, we might visualize a “one-dimensional” array like a list: | 1 | 5 | 2 | 0 | diff --git a/tutorials/module_1/basics_of_python.md b/tutorials/module_1/basics_of_python.md index 0df9296..776af44 100644 --- a/tutorials/module_1/basics_of_python.md +++ b/tutorials/module_1/basics_of_python.md @@ -1,5 +1,7 @@ # Basics of Python +^d2a6b6 + This page contains important fundamental concepts used in Python such as syntax, operators, order or precedence and more. ## Syntax diff --git a/tutorials/module_1/classes_and_objects.md b/tutorials/module_1/classes_and_objects.md index 3b30746..c2f7457 100644 --- a/tutorials/module_1/classes_and_objects.md +++ b/tutorials/module_1/classes_and_objects.md @@ -1,5 +1,7 @@ # Modular Programming +^70725c + ## 1. Introduction - A. What is Object-Oriented Programming? diff --git a/tutorials/module_1/computational_expense.md b/tutorials/module_1/computational_expense.md index c9631e1..720e86c 100644 --- a/tutorials/module_1/computational_expense.md +++ b/tutorials/module_1/computational_expense.md @@ -1,2 +1,4 @@ # Computational Expense +^fe2cd9 + diff --git a/tutorials/module_1/computing_fundamentals.md b/tutorials/module_1/computing_fundamentals.md index 1fef338..37aa1ce 100644 --- a/tutorials/module_1/computing_fundamentals.md +++ b/tutorials/module_1/computing_fundamentals.md @@ -1,5 +1,7 @@ # Computing Fundamentals +^c8596c + ## Using computers as a tool for engineers ## How do computers work? diff --git a/tutorials/module_1/control_structures.md b/tutorials/module_1/control_structures.md index f71bd7e..0a0abc6 100644 --- a/tutorials/module_1/control_structures.md +++ b/tutorials/module_1/control_structures.md @@ -1,4 +1,7 @@ # Control Structures + +^e8fcff + Control structures allow us to control the flow of execution in a Python program. The two main types are **conditional statements (`if` statements)** and **loops (`for` and `while` loops)**. ## Conditional Statements diff --git a/tutorials/module_1/functions.md b/tutorials/module_1/functions.md index a3d291d..decdb01 100644 --- a/tutorials/module_1/functions.md +++ b/tutorials/module_1/functions.md @@ -1,5 +1,7 @@ # Functions +^630482 + Like a traditional mathematical functions, python functions can take an input, process it, and give an output. In python, the input variables are referred to as *arguments*. Functions are blocks of code that is run every time it's called. This allows us to re-use code. Functions are defined by using the <code> def </code> keyword. Reminder: it is important to keep track of indentations as it signifies the end of the function when the indentation returns back to the same level. diff --git a/tutorials/module_1/fundamentals_of_programming.md b/tutorials/module_1/fundamentals_of_programming.md index a5577af..fa9726c 100644 --- a/tutorials/module_1/fundamentals_of_programming.md +++ b/tutorials/module_1/fundamentals_of_programming.md @@ -1,4 +1,7 @@ # Fundamentals of programming + +^135b42 + ## Orientation of common interfaces In this section we will cover the use and purpose of some common interfaces that you'll be using in this course. diff --git a/tutorials/module_1/jupyter_lab_notebook.md b/tutorials/module_1/jupyter_lab_notebook.md index ad5d7b5..6addd86 100644 --- a/tutorials/module_1/jupyter_lab_notebook.md +++ b/tutorials/module_1/jupyter_lab_notebook.md @@ -13,6 +13,8 @@ Terminal: `conda install conda-forge::jupyterlab` ## Notebook Basics +^8cbcb2 + Jupyter Notebooks are files which allows you to combine *Code* and *Markdown* cells in one single document. The code cells, allow you to interactively run python code and print and plot data in your document. If you wish to update or change data your code you can re-run the cell to update the output. The markdown cells allows you to write text, titles and insert images in your documentation using the markup language *Markdown*. To start a new notebook select `File > New > Notebook` or right click the file browser and select `New notebook`, this will prompt you to select a kernel (the Jupyter notebook "engine"). For now, just select the default Kernel 3. This will start a new fresh kernel for us to use. Next, it's recommended to rename the file. diff --git a/tutorials/module_1/open_source_software.md b/tutorials/module_1/open_source_software.md index d82b30a..2c33711 100644 --- a/tutorials/module_1/open_source_software.md +++ b/tutorials/module_1/open_source_software.md @@ -1,5 +1,7 @@ # Open Source Software +^d1c88a + Open-source software (OSS) is a type of software that allows users to access, modify, and distribute its source code freely. It is built on principles of collaboration, transparency, and community-driven development. You've probably heard of the saying "Don't reinventing the wheel". This diff --git a/tutorials/module_2/ai_assisted_programming.md b/tutorials/module_2/ai_assisted_programming.md index 4db6d9d..3085e1d 100644 --- a/tutorials/module_2/ai_assisted_programming.md +++ b/tutorials/module_2/ai_assisted_programming.md @@ -1,5 +1,7 @@ # AI Assisted Programming +^25ee82 + ## What is it? Artificial Intelligence (AI) has been around for a long time. However, not until recently did engineers make it easy and "fun" to work with. By now you probably have a pretty good idea of what AI can do. However, you may not have used an AI assistant before. As the name suggests, an AI assistant can help you develop code, speed up your writing with code suggestions and allows you to focus on solving the problem at hand rather. AI is a technology that is constantly improving. As engineers we need to *understand* how we can use AI as a tool to achieve our goals more efficiently. This section cover good practices of how we can implement AI and lists some AI assistant tools that we can use. diff --git a/tutorials/module_2/debugging_code.md b/tutorials/module_2/debugging_code.md index 5dcf50b..5e92292 100644 --- a/tutorials/module_2/debugging_code.md +++ b/tutorials/module_2/debugging_code.md @@ -1,5 +1,7 @@ # Debugging Code +^6dd4d7 + ## Introduction Have you ever had a piece of code not work the way you expected? What did you do? You may have, asked a friend or used an AI assistant. In this section, the following concepts are introduced - definition of a bug, common types of bugs and debugging techniques. diff --git a/tutorials/module_2/documentation.md b/tutorials/module_2/documentation.md index 984c404..783a17a 100644 --- a/tutorials/module_2/documentation.md +++ b/tutorials/module_2/documentation.md @@ -1,5 +1,7 @@ # Documentation of your code +^66b99f + Code documentation is essential for maintaining and scaling software projects. Whether it's an open-source project or your own private code. It ensures that you can understand, use, troubleshoot and build upon the code in the future. ## Keep Detailed and Accurate Notes diff --git a/tutorials/module_2/error.md b/tutorials/module_2/error.md index f8ad3f3..67b784f 100644 --- a/tutorials/module_2/error.md +++ b/tutorials/module_2/error.md @@ -1,5 +1,7 @@ # Errors in Numerical Computations +^d57531 + In any numerical method, **error** is inevitable. Understanding **what kinds of errors occur** and **why** is essential to building reliable and accurate computations. We mainly classify errors into two major types: diff --git a/tutorials/module_2/problem_solving_strategies.md b/tutorials/module_2/problem_solving_strategies.md index 0767c73..4fa20e9 100644 --- a/tutorials/module_2/problem_solving_strategies.md +++ b/tutorials/module_2/problem_solving_strategies.md @@ -1,5 +1,7 @@ # Algorithmic thinking +^da584e + In engineering, solving a problem begins long before we start coding or building models. Like any other engineering challenge, computational problems must first be clearly framed and understood. In this section, you will learn to **apply algorithmic thinking** to systematically approach engineering problems, **translate real-world situations into structured programming logic**, and **use computational tools to implement, test, and refine solutions**. Before diving into code, it's crucial to define the problem carefully, frame the problem so that logically so that a computer can understand then execute so that diff --git a/tutorials/module_2/version_control.md b/tutorials/module_2/version_control.md index 7d633a5..72668fd 100644 --- a/tutorials/module_2/version_control.md +++ b/tutorials/module_2/version_control.md @@ -1,5 +1,7 @@ # Version Control Software +^96ac15 + ## What is Version Control Version control is a system that tracks changes to files, enabling developers to collaborate, manage code history, and revert to previous versions when needed. The most used version control software (VCS) is git. In this course git is the VCS we will be using. diff --git a/tutorials/module_4/1_importing_scientific_data.md b/tutorials/module_4/1_importing_scientific_data.md new file mode 100644 index 0000000..b51558b --- /dev/null +++ b/tutorials/module_4/1_importing_scientific_data.md @@ -0,0 +1,40 @@ +# Importing Scientific Data using Pandas + +^8eb966 + +[Introduction text] + + +Pandas is a library that is built on top of NumPy and is there for customarily to import both when working with Pandas. + +```python +import numpy as np +import pandas as pd +``` + + +DataFrame + +A `DataFrame` in pandas is a two-dimensional data structure like table with rows and columns. + + + +```python +# Tensile test data +data = { + "Force (N)": [10, 15, 20, 25], + "Displacement (mm)": [1.2, 1.8, 2.5, 3.0], + "Stress (MPa)": [2.6, 3.9, 5.2, 6.5], +} +``` + + + +Object Creation + +```python +# Create DataFrame with row labels +df = pd.DataFrame(data, index=["Test1", "Test2", "Test3", "Test4"]) + +print(df) +```
\ No newline at end of file diff --git a/tutorials/module_4/2_data_processing.md b/tutorials/module_4/2_data_processing.md new file mode 100644 index 0000000..f969b2d --- /dev/null +++ b/tutorials/module_4/2_data_processing.md @@ -0,0 +1,17 @@ +# Data Processing + +^7b1480 + + +## Data Cleaning and Filtering + + + + + + + +--- +## Reading & Writing Files + + diff --git a/tutorials/module_4/linear_regression.md b/tutorials/module_4/3_linear_regression.md index b21415b..298d411 100644 --- a/tutorials/module_4/linear_regression.md +++ b/tutorials/module_4/3_linear_regression.md @@ -1,5 +1,7 @@ # Linear Regression +^aab594 + ## Statical tools @@ -16,3 +18,7 @@ median = np.median([1, 2, 3, 4, 5]) std = np.std([1, 2, 3, 4, 5]) variance = np.var([1, 2, 3, 4, 5]) ``` + + + +### diff --git a/tutorials/module_4/data_processing.md b/tutorials/module_4/data_processing.md deleted file mode 100644 index 0f2795e..0000000 --- a/tutorials/module_4/data_processing.md +++ /dev/null @@ -1 +0,0 @@ -# Data Processing diff --git a/tutorials/module_4/data_visualization.md b/tutorials/module_4/data_visualization.md index 43b0170..fc02427 100644 --- a/tutorials/module_4/data_visualization.md +++ b/tutorials/module_4/data_visualization.md @@ -1 +1,4 @@ # Data Visualization + +^1ac244 + diff --git a/tutorials/module_4/importing_scientific_data.md b/tutorials/module_4/importing_scientific_data.md deleted file mode 100644 index 5f3e48a..0000000 --- a/tutorials/module_4/importing_scientific_data.md +++ /dev/null @@ -1 +0,0 @@ -# Importing Scientific Data
\ No newline at end of file diff --git a/tutorials/module_4/plotting.md b/tutorials/module_4/plotting.md index 42f82cc..43bea2e 100644 --- a/tutorials/module_4/plotting.md +++ b/tutorials/module_4/plotting.md @@ -1,4 +1,6 @@ # Plotting +^c3a51d + ## matlibplot |
