Example scripts and notebooks for simulating, calibrating and correcting charge transfer inefficiency (CTI) in CCD detectors with PyAutoCTI. Start with an introduction to CTI, then explore the tools for your own calibration data.
- Start with the introduction — learn what CTI is and how it affects CCD images.
- Run it locally — follow the installation guide, then open
notebooks/overview/overview_1_what_is_cti.ipynb. - Read the documentation — explore the concepts and examples in your browser.
See Find Your Examples below to choose where to start.
The PyAutoCTI AI Assistant helps you learn about CTI and work through calibration examples through conversation. Visit its README for setup instructions and a starting prompt.
Examples are available as Python scripts in scripts/ and Jupyter notebooks in notebooks/.
| I want to… | Start here |
|---|---|
| Learn about CTI and how calibration works | Overview |
| Simulate or fit one-dimensional CTI data | 1D datasets |
| Simulate or fit charge injection images | Charge injection imaging |
| Correct data using a CTI model | 1D correction · Imaging correction |
| Inspect calibration results | Results |
| Visualise datasets and models | Plotting |
Each folder has a README explaining its examples. You’ll find sample data in dataset/; analysis results are written to output/.
The overview examples introduce parallel and serial charge transfer, the features CTI leaves in data, and how to fit and calibrate a CTI model.
For help alongside the examples, ask the PyAutoCTI AI Assistant to explain the detector physics or walk you through a calibration.
Ask questions, suggest improvements and share your work in PyAutoLabs Discussions.
To contribute, see the PyAutoCTI contribution guide.
If you use PyAutoCTI in your research, see the citation guide.
See the PyAutoCTI license.