Welcome to My Codebase, a comprehensive repository containing Jupyter Notebooks, Python scripts, and Bash scripts for data analysis, simulation, and various computational tasks. This repository is organized to facilitate easy navigation, modularity, and reusability of code across different projects.
- Jupyter Notebooks: Interactive notebooks for data analysis, visualization, and exploration.
- Python Scripts: Modular Python scripts for various computational tasks.
- Bash Scripts: Automation scripts for setup, data processing, and deployment.
- Custom Modules: Reusable Python modules (
muonpipe
) to streamline code across notebooks and scripts.
- python/jupyter_notebooks/: Contains all Jupyter Notebook files for data analysis and visualization.
- python/python_scripts/: Holds standalone Python scripts for various tasks.
- python/python_modules/: Custom Python modules, including
muonpipe
, essential for other code in the repository. - bash_scripts/: Bash scripts for automating setup and deployment processes.
- data/: Directory for storing raw and processed data.
- C++/: Directory for C++ code
- requirements.txt: Lists all Python dependencies required for the project.
- README.md: This documentation file.
- Python 3.10 or higher
- Git
- pip (Python package installer)
- Virtual Environment Tool (
venv
orconda
)
git clone https://github.com/jstvdk/my_codebase.git
cd my_codebase
From the project root directory:
conda create -n my_codebase_env python=3.10
conda activate my_codebase_env
pip install --upgrade pip
pip install -r requirements.txt
The muonpipe
module is essential for the functionality of almost all python related code in this repository. Installing it in editable mode ensures that any changes made to the module are immediately available without needing to reinstall.
To install it, navigate to the python_modules
Directory:
cd python/python_modules/muonpipe
pip install -e .
Note: Ensure that you’re using the same Python environment (e.g., virtual environment) for both installing the package and running Jupyter Notebooks