Skip to content

Commit 682d1f8

Browse files
committed
Update citation and readme information
1 parent 483fbd9 commit 682d1f8

File tree

2 files changed

+21
-79
lines changed

2 files changed

+21
-79
lines changed

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ authors:
1111
orcid: "https://orcid.org/0000-0002-5034-2207"
1212
- family-names: Santamaria Garcia
1313
given-names: Andrea
14-
affiliation: Karlsruhe Institute of Technology
14+
affiliation: University of Liverpool
1515
orcid: "https://orcid.org/0000-0002-7498-7640"
1616
- family-names: Gonzalez Aguilera
1717
given-names: Juan Pablo
1818
affiliation: University of Chicago
1919
orcid: https://orcid.org/0000-0003-4198-749X
2020

2121
title: "Differentiable Simulations Cheetah Tutorial MaLAPA 2025"
22-
date-released: 2025-04-08
22+
date-released: 2025-04-07
2323
type: software
2424
version: 1.0.0
2525
doi: 10.5281/zenodo.10777477

README.md

Lines changed: 19 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,26 @@
11
[![DOI](https://zenodo.org/badge/761710489.svg)](https://zenodo.org/doi/10.5281/zenodo.10777476)
22
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
33

4-
# Tutorial on Applying Reinforcement Learning to the Particle Accelerator ARES
4+
# Differentiable Simulations Cheetah Tutorial MaLAPA 2025
55

6-
You can view the tutorial notebook as [HTML slides here](https://RL4AA.github.io/rl-tutorial-ares-basic/slides.html#/).
6+
## Disclaimer ❗
77

8-
## Download the repository
8+
This repository contains advanced Python tutorials developed with care and dedication to foster learning and collaboration. The code and materials provided here are the result of significant effort, including state-of-the-art research and unpublished or pre-peer-reviewed work.
99

10-
### Get the repository with Git
10+
We share these resources in good faith, aiming to contribute to the community and advance knowledge in our field. If you use or build upon any part of this tutorial, whether in research, software, or educational materials, proper citation is required. Please cite the tutorial as indicated in the repository or its associated Zenodo entry.
1111

12-
You will need to have Git previously installed in your computer.
13-
To check if you have it installed, open your terminal and type:
12+
While we encourage reuse and adaptation of our work, uncredited use or plagiarism is unacceptable. We actively monitor citations and expect users to engage in responsible scholarly practice. Failure to properly attribute this work may lead to formal actions.
1413

15-
```bash
16-
git --version
17-
```
18-
19-
#### Git installation in macOS
20-
21-
```bash
22-
brew update
23-
brew install git
24-
```
25-
26-
#### Git installation in Linux
27-
28-
In Ubuntu/Debian
29-
30-
```bash
31-
sudo apt install git
32-
```
14+
By using this repository, you acknowledge and respect the effort behind it. We appreciate your support in maintaining academic integrity and fostering an open, collaborative environment.
3315

34-
In CentOS
16+
Happy coding, and thank you for citing responsibly! 😊
3517

36-
```bash
37-
sudo yum install git
38-
```
18+
## Getting Started
3919

40-
## Downloading the repository
20+
- You will require about **3 GB of free disk space** ❗
21+
- Make sure you have Git installed in your terminal ❗
4122

42-
Once you have Git installed open your terminal, go to your desired directory, and type:
23+
Start by cloning locally the repository of the challenge by running this command in your terminal:
4324

4425
```bash
4526
git clone https://github.com/MALAPA-Collab/cheetah-tutorial-2025
@@ -51,59 +32,20 @@ Then enter the downloaded repository:
5132
cd cheetah-tutorial-2025
5233
```
5334

54-
### Get the repository with direct download
55-
56-
Open your terminal, go to your desired directory, and type:
57-
58-
```bash
59-
wget https://github.com/MALAPA-Collab/cheetah-tutorial-2025/archive/refs/heads/main.zip
60-
unzip main.zip
61-
cd cheetah-tutorial-2025
62-
```
35+
### Installing virtual environment
6336

64-
## Getting started
37+
#### Using conda-forge
6538

66-
You need to install the dependencies before running the notebooks.
39+
- If you don't have conda installed already, you can install the `miniforge` as described in the [GitHub repository](https://github.com/conda-forge/miniforge) or download from the [conda-forge site](https://conda-forge.org/download/). Once `miniforge` is installed, you can use the `conda` commands as usual.
40+
- We recommend installing `miniforge` the day beforehand to avoid network overload during the challenge ❗ ❗
6741

68-
### Using conda
69-
70-
If you don't have conda installed already and want to use conda for environment management, you can install the miniconda as [described here](https://docs.conda.io/projects/miniconda/en/latest/miniconda-install.html).
71-
72-
- Create a conda env from the provided env file `conda env create -f environment.yaml`
73-
- Activate the environment with `conda activate malapa-cheetah-tutorial-2025`
74-
- Additional installation steps:
75-
76-
```bash
77-
python -m jupyter contrib nbextension install --user
78-
python -m jupyter nbextension enable varInspector/main
79-
```
80-
81-
- **After the tutorial** you can remove your environment with `conda remove -n malapa-cheetah-tutorial-2025 --all`
82-
83-
### Using venv only
84-
85-
If you do not have conda installed:
86-
87-
Alternatively, you can create the virtual env with `venv` in the standard library
42+
Once `miniforge` is installed run this command in your terminal:
8843

8944
```bash
90-
python -m venv malapa-cheetah-tutorial-2025
45+
conda env create -f environment.yaml
9146
```
9247

93-
and activate the env with $ source <venv>/bin/activate (bash) or C:> <venv>/Scripts/activate.bat (Windows)
94-
95-
Then, install the packages with pip within the activated environment
96-
97-
```bash
98-
python -m pip install -r requirements.txt
99-
```
100-
101-
Finally, install the notebook extensions if you want to see them in slide mode:
102-
103-
```bash
104-
python -m jupyter contrib nbextension install --user
105-
python -m jupyter nbextension enable varInspector/main
106-
```
48+
Afterwards, activate the environment with `conda activate malapa-cheetah-tutorial-2025`
10749

10850
Now you should be able to run the provided notebook.
10951

@@ -148,4 +90,4 @@ Please use the following DOI when citing this code:
14890

14991
This tutorial is developed by [Jan Kaiser](https://github.com/jank324), [Chenran Xu](https://github.com/cr-xu), [Andrea Santamaria Garcia](https://github.com/ansantam), and [Juan Pablo Gonzalez Aguilera](https://github.com/jp-ga).
15092

151-
The content is based on the [official Cheetah documentation](https://cheetah-accelerator.readthedocs.io/en/latest/), [Cheetah PRAB paper](https://doi.org/10.1103/PhysRevAccelBeams.27.054601), the [Cheetah Demos repository](https://github.com/desy-ml/cheetah-demos), and [TODO pahse space under construction](https://i.pinimg.com/736x/33/5c/e0/335ce01208a3cc1e9a9e3149e07b5bc9.jpg).
93+
The content is based on the [official Cheetah documentation](https://cheetah-accelerator.readthedocs.io/en/latest/), [Cheetah PRAB paper](https://doi.org/10.1103/PhysRevAccelBeams.27.054601), the [Cheetah Demos repository](https://github.com/desy-ml/cheetah-demos), and the [GPSR (generative phase space reconstruction) package](https://github.com/roussel-ryan/gpsr).

0 commit comments

Comments
 (0)