changing the emission line velocity width
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Python
- Star
- 76
- Fork
- 45
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Apologies if this information is in the documentation or in previously closed tickets, but I'd like to change (reduce) the velocity width of the emission lines without smoothing the stellar continuum. E.g., in the example below I would like to change the velocity width so the [OII] doublet is well-resolved.
According to the docs, smooth_velocity=True but smooth_lsf=False, by default, so there shouldn't be any supplemental smoothing. But clearly the lines are pretty broad (hard to tell, but I would guess >>100 km/s).
Any advice or guidance would be much-appreciated!
import fsps
import matplotlib.pyplot as plt
sp = fsps.StellarPopulation(compute_vega_mags=False,
add_dust_emission=True,
add_neb_emission=True,
nebemlineinspec=True,
imf_type=1, # Chabrier
dust_type=0,
dust_index=-0.7,
sfh=0,
zcontinuous=1)
wave, flux = sp.get_spectrum(tage=1e-3, peraa=True)
I = (wave > 3697.) * (wave < 3757.)
fig, ax = plt.subplots()
ax.plot(wave[I], flux[I])
ax.set_xlabel('Wavelength (Angstrom)')
ax.set_ylabel('Flux')
fig.savefig('fsps-linewidth.png')
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Trước tiên, hãy đọc tài liệu của stellarpop_api và chạy ví dụ phổ được cung cấp. Theo dõi cách smooth_velocity, smooth_lsf và nebemlineinspec ảnh hưởng đến liên tục sao và các vạch phát xạ; được xem là hoàn tất khi xác định được một cách được hỗ trợ để thu hẹp bộ đôi [OII] mà không làm mượt liên tục, hoặc ghi lại rằng hành vi này cần một thay đổi riêng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- fortran, python
- Lĩnh vực
- data
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100