OGIP#
- class astropy.units.format.OGIP(*args, **kwargs)[源代码]#
基类:
Generic
支援部队 Office of Guest Investigator Programs (OGIP) FITS files .
属性摘要
方法总结
parse
(s[, debug])将字符串转换为单位对象。
to_string
(unit[, fraction])将单位转换为其字符串表示形式。
属性文档
- name = 'ogip'#
方法文件
- classmethod to_string(unit, fraction='inline')[源代码]#
将单位转换为其字符串表示形式。
实施
to_string
。- 参数:
- 加薪:
ValueError
如果
fraction
不被识别。