Skip to main content

Photometry Tools

Project description

Photometry Tool

By Dr/Prof Jie Zheng & Dr/Prof LinQiao Jiang

v0.1 2025-06-07

综述

编写一个工具,通过命令行可以实现较差测光数据处理的各个步骤。

调用模式

根源是提供一个Python包,在py环境中调用函数。通过终端 py -m phtool command 加上命令和参数的方式进行终端快捷调用,或者通过 py -m phtool gui 的方式调用GUI选择任务和参数。

命令

biascombine

指定每一幅本底文件,以及合并方式,合并成一个本底文件。

flatcombine

指定平场文件,以及合并后的本底,可选归一化模式与合并模式,合并成一个平场文件。

darkcombine

合并暗流,指定每一幅暗流文件,以及合并方式,合并成一个暗流文件。

imcorr

指定合并后的本底和平场,对科学图像进行改正。如果明确指定平场为1、本底为0,则相应不进行此项改正。可以选择开窗方式。如果不指定暗流,则不进行暗流改正。可以指定坏像元掩码文件。

默认根据头文件中的坐标字段(RA,DEC / CRVAL1,2 )获得图像中心指向,也可以指定中心关键字,或者直接指定中心赤经赤纬。观测时间根据DATE-OBS和TIME-OBS,曝光时间依据EXPTIME或者EXPOSURE,或者指定时间关键字。然后计算JD/MJD,以及HJD-JD,BJD-TDB。如果fits头已经有JD/MJD/HJD/BJD则不计算。

find

调用 photutils 进行找源以及FWHM计算,输出星表,按照亮度排序,给出综合的FWHM预估值。

phot

调用 photutils 进行测光,可选测光模式以及孔径。目标源可以通过直接在图像中指定,或者粗略xy指定,都不指定则根据find给出的结果进行全部测光。

diffcali

根据phot结果,进行不同指定的较差计算和绘图,可以指定目标。采用全局定标或者指定比较星的方式。

imgexam

单纯的图像检查工具,展示图像,并且进行等高线、三维图、横截面、纵截面、PSF等绘制。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

phtool-0.25.713-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

Details for the file phtool-0.25.713-py3-none-any.whl.

File metadata

  • Download URL: phtool-0.25.713-py3-none-any.whl
  • Upload date:
  • Size: 21.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for phtool-0.25.713-py3-none-any.whl
Algorithm Hash digest
SHA256 63ec2f3ca44c849ab9f2f733de6aa6ab4160e6834c265b58bc6665b27b34c897
MD5 4aa8f316f0706741a96feb4c8d2e734f
BLAKE2b-256 934b378dba19629e3abc89d1fef3fc4b08a3cd04ea907cd16cf3453ba3d39ac6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page