Control the frequency of the particle accelerator's radio frequency superconducting cavity based on reinforcement learning algorithm.
Describe the directory structure of the project to help users understand the files and folders included in the project.
SRF_FC_RL/
├── config/ # Configuration files
├── envs/ # Environment implementations
├── models/ # Trained models
├── scripts/ # Training/Evaluation scripts
├── utils/ # Utility modules
├── README.md # Project documentation
└── requirements.txt # Dependency list
- Install conda
- (Suggested) Create a virtual environment and activate it
- Install dependencies
- Create a virtual environment:
conda create -n RL python==3.13.2
conda activate RL
- Install dependencies:
pip install -r requirements.txt
python scripts/train.py --config config/config.yaml
python scripts/evaluate.py --config config/config.yaml
- Ensure that the CUDA environment is installed to enable GPU acceleration.
- Parameters in the configuration file can be adjusted based on actual requirements.
- Visualization results will automatically pop up after evaluation is completed.
We welcome contributions to this project! To contribute, please follow these steps:
- Fork the Repository: Click the "Fork" button at the top right of this repository to create your own copy.
- Clone the Repository: Clone your forked repository to your local machine.
git clone https://github.com/your-username/SRF_FC_RL.git cd SRF_FC_RL
- Create a Branch: Create a new branch for your feature or bug fix.
git checkout -b feature-name
- Make Changes: Implement your changes and commit them with clear and concise commit messages.
git add . git commit -m "Description of changes"
- Push Changes: Push your changes to your forked repository.
git push origin feature-name
- Submit a Pull Request: Open a pull request to the main repository. Provide a detailed description of your changes and why they should be merged.
- Ensure your code follows the project's coding standards.
- Write clear and concise documentation for any new features or changes.
- Test your changes thoroughly before submitting a pull request.
- Be respectful and constructive in code reviews and discussions.
If you have any questions or need assistance, feel free to reach out:
- Email: [email protected]
- GitHub Issues: Open an issue
We appreciate your interest in contributing and look forward to your input!
This repository is licensed under the LICENSE.
For any inquiries or support, you can reach out through the following channels:
- Email: [email protected]
- GitHub Issues: Submit an issue
- Discussion Forum: GitHub Discussions
Thank you for your interest in this project, and we hope you find it helpful and inspiring!