Adding examples in the Documentation about dealing with FITS files

Đang mở
#910 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
python
Lĩnh vực
documentation

Hướng nghiên cứu

Start by reading the documentation examples in the templates module and trace how their imported models handle FITS data. The issue asks for working examples on adapting externally built FITS spectral datacubes for ScopeSim, including extracting or reshaping data for use as synphot.SourceSpectrum objects. Done means the documentation includes examples that address this workflow; the issue does not name specific files or tests.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

documentation

Hi,

Could it be possible to add working examples in the documentation about how to deal with data from FITS files ? The examples given with the "templates" module are nice but the imported models have been built in such a way that it works perfectly.

First reason is that I'm an astrophysics student, decent in science but programming is not my thing. It would help me (and all others to come) when it comes to adapting former pipelines to ScopeSim.

Second reason is that I'm working with spectral datacubes that have not been built for ScopeSIM. It's just slices of a same object over 4000 wavelengths, and I'm trying to naively extract the spectra for each pixels as synphot.SourceSpectrum objects, but it's taking a HUGE time (22min) for a very small number of pixels (330x330 px FoV).

I assume this has been considered as it is an extremely common situation, but I can't figure it out from the Documentation. Maybe some examples about how to extract/reshape data so it can be used by ScopeSIM would be helpful to students or newcomers, especially for those who are used to older pipelines.

Thank you very much !

Ngôn ngữ chính
Python
Star
42
Fork
30
Merge trung bình
2 ngày 22 giờ
Pull request đã merge (30 ngày)
7

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của AstarVienna/ScopeSim

Tất cả issue của AstarVienna/ScopeSim

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.