Skip to main content

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

chem10_harvard-0.0.2.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chem10_harvard-0.0.2-py3-none-any.whl (27.4 kB view details)

Uploaded Python 3

File details

Details for the file chem10_harvard-0.0.2.tar.gz.

File metadata

  • Download URL: chem10_harvard-0.0.2.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

Hashes for chem10_harvard-0.0.2.tar.gz
Algorithm Hash digest
SHA256 7b089d61b5d6e54d3a9347aa777807170188392a11103654a2a926ac858a144b
MD5 a35689e6deb17c6e0e782617311fdc79
BLAKE2b-256 620711955e09e7c87d410c961c2159dc0304bb33ec3bae61c74d76957e316591

See more details on using hashes here.

File details

Details for the file chem10_harvard-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: chem10_harvard-0.0.2-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

Hashes for chem10_harvard-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d036abb8506ae4db957eccf42db3a90c59b34915a25a08abea6cc0d82724c771
MD5 4546ce67ce46b96b7a1ce45f822b7eb8
BLAKE2b-256 ead2524f3b5f5b4de8613f303c7fd9701757f455fa49be3ac48d4b2468580071

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.2.2

2 files

0.0.2.1

2 files

This release

0.0.2 This release

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page