当前位置: 首页>>代码示例>>Python>>正文


Python AstroData.disperser方法代码示例

本文整理汇总了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]
开发者ID:pyrrho314,项目名称:recipesystem,代码行数:33,代码来源:dtest.py


注:本文中的astrodata.AstroData.disperser方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。