CHEM10_Harvard
This is a package to interface with the spectrometer built in CHEM 10 at Harvard College. You can learn more about CHEM 10 here
Installation
First you have to have installed Python 3.13 or higher (here are instructions on how to install Python on Windows). Python is pre-installed on macOS and linux. We recommend you setup a virtual envrionment (venv) where you use the library. Before activating the virtual environment take care to deactivate all other environments (e.g. other venvs or conda environments). You are also free to use packaging managers (e.g. uv, conda, ...). This might be advantageous if you plan to work in STEM fields where conda is commonly used.
You also need to install arduino-cli. Instructions on its installation can be found here. Unless you have already installed the package manager brew we recommend that you use the installation script as explained on the linked page.
In the course you will use jupyter notebooks to execute code. In order to be able to use your virtual environment you will need to execute the following line of code (if you want to you can change the name of the kernel by replacing CHEM10_environment by your name)
python -m ipykernel install --user --name=CHEM10_environment
In order to check that all dependencies are present for the package to work you can install pytest and run
python -m pytest -m environment
If you see a green line at the end that says N passed in N.NNs you are ready to proceed.
[Optional] mamba installation
Should you use conda or one of its derivatives like mamba (reccomended), you can install from the .yml file included in the reference files. First, change the prefix line to the location of mamba in your system, e.g. /Users/johndoe/mamba/envs/chem10. Then, run the following to build the chem10 environment to that location.
mamba env create -f <INSERT>/CHEM10_Harvard/ref/chem10.yml
Alternatively, you can manually create the environment using the following commands. Note it is very important to install pip packages AFTER installing conda packages, otherwise you will reach dependenecy hell (https://en.wikipedia.org/wiki/Dependency_hell).
mamba create -n chem10 -c conda-forge python=3.12 numpy pandas matplotlib scipy dtw-python jupyter ipykernel pytest pytest-cov
mamba activate chem10
pip install telemetrix
Then, if you are using VSCode, Ctrl+Shift+P > "Select Interpreter" > choose your mamba env. If your env doesn't show up, go to Terminal and type mamba env list, then copy the path and add it as an env in VSCode.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chem10_harvard-0.0.1.tar.gz.
File metadata
- Download URL: chem10_harvard-0.0.1.tar.gz
- Upload date:
- Size: 1.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a525582704b5deb12eecac43dda3ad4d23070669553c282e9d183ffcfad00655
|
|
| MD5 |
65ed2c5162e07f13055e1ff3a2172e78
|
|
| BLAKE2b-256 |
61248601bcff89cb9f299cede35cec42371ce5cd27d4295ad9468710ac9f533a
|
File details
Details for the file chem10_harvard-0.0.1-py3-none-any.whl.
File metadata
- Download URL: chem10_harvard-0.0.1-py3-none-any.whl
- Upload date:
- Size: 27.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c09f0bb2d9b4c0d8b94ee9c81081e606bf5d08a111230b4dcdbc662459a7163
|
|
| MD5 |
5fe9a52d5368eaca99c8a1ba3e2ac182
|
|
| BLAKE2b-256 |
83a86a8cb2855ea903e72f537ee60f62331d4be435644e2a9d8bf8238816b85e
|