fitsdataset-0.0.2
توضیحات
A PyTorch Dataset for the FITS file format
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fitsdataset-0.0.2 |
| نام | fitsdataset |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Amrit Rau |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/amritrau/fits-dataset |
| آدرس اینترنتی | https://pypi.org/project/fitsdataset/ |
| مجوز | - |
FITSDataset
===
This package contains a custom PyTorch Dataset for quick and easy training on FITS files, commonly used in astronomical data analysis. In particular, the `FITSDataset` class caches FITS files as PyTorch tensors for the purpose of increasing training speed.
Contributions and feedback are welcome; please open a pull request or an issue.
## Quickstart
Using Python 3.6+, install from source with
```bash
pip install fitsdataset
```
Create a toy dataset with samples from the
[Hyper Suprime-Cam survey](https://www.naoj.org/Projects/HSC/) with:
```python
>>> from fitsdataset import FITSDataset
>>> dataset = FITSDataset("path/to/examples/hsc/", size=101, label_col="target")
```
Notice that the cached tensors appear in `path/to/examples/hsc/tensors`.
## Documentation
```python
>>> from fitsdataset import FITSDataset
>>> help(FITSDataset)
```
نیازمندی
| مقدار | نام |
|---|---|
| - | numpy |
| - | pandas |
| - | torch |
| - | astropy |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl fitsdataset-0.0.2:
pip install fitsdataset-0.0.2.whl
نصب پکیج tar.gz fitsdataset-0.0.2:
pip install fitsdataset-0.0.2.tar.gz