From 71de98379b1382ccfd6324174a3212b8f753dfb7 Mon Sep 17 00:00:00 2001 From: Alexis Gamelin <alexis.gamelin@synchrotron-soleil.fr> Date: Tue, 24 Oct 2023 22:18:19 +0200 Subject: [PATCH] Update README.md Update mbtrack2.yml Remove requirements.txt --- README.md | 30 ++++++++++++++++-------------- mbtrack2.yml | 3 +-- requirements.txt | 10 ---------- 3 files changed, 17 insertions(+), 26 deletions(-) delete mode 100644 requirements.txt diff --git a/README.md b/README.md index 64ae3a4..d02ff79 100644 --- a/README.md +++ b/README.md @@ -7,14 +7,27 @@ mbtrack2 is composed of different modules allowing to easily write scripts for s Installation ------------ + +### Using pip + +Run: + +``` +pip install mbtrack2 +``` +To test your installation run: +``` +from mbtrack2 import * +``` + +### Using conda + Clone the mbtrack2 repo and enter the repo: ``` git clone https://gitlab.synchrotron-soleil.fr/PA/collective-effects/mbtrack2.git cd mbtrack2 ``` -### Using conda - To create a new conda environment for mbtrack2 run: ``` @@ -33,18 +46,6 @@ To test your installation run: from mbtrack2 import * ``` -### Using pip - -Run: - -``` -pip install -r requirements.txt -``` -To test your installation run: -``` -from mbtrack2 import * -``` - Examples -------- Jupyter notebooks demonstrating mbtrack2 features are available in the example folder and can be opened online using google colab: @@ -52,6 +53,7 @@ Jupyter notebooks demonstrating mbtrack2 features are available in the example f + dealing with RF cavities and longitudinal beam dynamics [](https://colab.research.google.com/github/GamelinAl/mbtrack2_examples/blob/main/mbtrack2_cavity_resonator.ipynb) + collective effects [](https://colab.research.google.com/github/GamelinAl/mbtrack2_examples/blob/main/mbtrack2_collective_effects.ipynb) + bunch by bunch feedback [](https://colab.research.google.com/github/GamelinAl/mbtrack2_examples/blob/main/mbtrack2_BxB_FB.ipynb) ++ RF loops and feedbacks [](https://colab.research.google.com/github/GamelinAl/mbtrack2_examples/blob/main/mbtrack2_RF_feedback.ipynb) References ---------- diff --git a/mbtrack2.yml b/mbtrack2.yml index 91f5371..bfe63d9 100644 --- a/mbtrack2.yml +++ b/mbtrack2.yml @@ -1,6 +1,6 @@ name: mbtrack2 dependencies: - - python>=3.6 + - python>=3.9 - numpy - pandas - scipy @@ -9,7 +9,6 @@ dependencies: - matplotlib - seaborn - mpmath - - ipykernel - pip - pip: - accelerator-toolbox \ No newline at end of file diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index edc0f2b..0000000 --- a/requirements.txt +++ /dev/null @@ -1,10 +0,0 @@ -numpy -pandas -scipy -h5py -mpi4py -matplotlib -seaborn -mpmath -ipykernel -accelerator-toolbox \ No newline at end of file -- GitLab