Newer
Older
- numpy==1.23.3
- scipy==1.9.2
- joblib==1.2.0
- astropy==5.1
- pytest==7.2.1
- coverage==7.2.1
- toml==0.10.2
`csst_proto` can be installed with the following shell command
```bash
git clone https://csst-tb.bao.ac.cn/code/csst-l1/csst_proto.git
pip install -r requirements.txt
python setup.py install
```
or a single-line command (the requirements are not installed automatically)
```bash
sh -c "$(curl -fsSL https://csst-tb.bao.ac.cn/code/csst-l1/csst_proto/-/raw/main/install.sh)"
A simple example on how to use this package:
```python
# flip the image
img_flipped = flip_image(img=img)
```
The `csst_proto` uses an awesome algorithm based on `numpy.ndarray` indices to flip images.