本文整理汇总了Python中astrodata.AstroData.disperser方法的典型用法代码示例。如果您正苦于以下问题:Python AstroData.disperser方法的具体用法?Python AstroData.disperser怎么用?Python AstroData.disperser使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类astrodata.AstroData
的用法示例。
在下文中一共展示了AstroData.disperser方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: AstroData
# 需要导入模块: from astrodata import AstroData [as 别名]
# 或者: from astrodata.AstroData import disperser [as 别名]
import sys, os
from astrodata import AstroData
from astrodata import Errors
import re
ad = AstroData("../../../test_data/recipedata/N20090703S0163.fits")
ybin = ad.detector_y_bin()
xbin = ad.detector_x_bin()
disp = ad.disperser()
descripts = ["airmass", "amp_read_area", "azimuth", "camera", "cass_rotator_pa",
"central_wavelength", "coadds", "data_label", "data_section", "dec", "decker",
"detector_section", "detector_x_bin", "detector_y_bin", "disperser",
"dispersion", "dispersion_axis", "elevation", "exposure_time", "filter_name",
"focal_plane_mask", "gain", "gain_setting", "grating", "instrument",
"local_time", "mdf_row_id", "nod_count", "nod_pixels", "non_linear_level",
"object", "observation_class", "observation_epoch", "observation_id",
"observation_type", "pixel_scale", "prism", "program_id", "pupil_mask",
"qa_state", "ra", "raw_bg", "raw_cc", "raw_iq", "raw_wv", "read_mode",
"read_noise", "read_speed_setting", "saturation_level", "slit", "telescope",
"ut_date", "ut_datetime", "ut_time", "wavefront_sensor",
"wavelength_reference_pixel", "well_depth_setting", "x_offset", "y_offset"]
descripts = ["detector_x_bin","exposure_time", "raw_cc"]
if True:
ops = ["+","-","*","/","//", "%", "**", "<<",">>", "^", "<", "<=", ">",">=","==",]
#ops = ["<", "<=", ">",">=","==",]
exprs = []
operands = ["'hello'", 10., 10]