wdtools
完整文档: 。
阅读论文: :
使用wdtools从其光谱中推断DA白矮星的温度和表面重力的示例用法:
import sys
import numpy as np
from scipy import stats
sys . path . append ( '~/GitHub/wdtools/' )
import wdtools
gfp = wdtools . GFP ( resolution = 3 )
labels , e_labels , redchi = gfp . fit_spectrum ( wl , flux , ivar ,
mcmc = True , nwalkers = 50 , burn = 100 , ndraws = 100 ,
2022-08-13 22:06:59
10.48MB
Python
1