Commit 37b1bc15 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

update module aliases

parent 0f48aae5
Pipeline #1204 failed with stage
in 0 seconds
...@@ -41,41 +41,63 @@ Change list ...@@ -41,41 +41,63 @@ Change list
) )
return result return result
主巡天模块-接口列表 导入模块
---------------------- ---------
.. code-block:: python .. code-block:: python
# import modules
import numpy as np
import matplotlib.pyplot as plt
from astropy.io import fits
from astropy import table
# csst-l1/mbi/csst_msc_mbi_instrument # import modules
def base_instcorr(input_file, img_file, wht_file, flg_file): -> CsstResult from scipy import signal
# csst-l1/mbi/csst_msc_mbi_distortion from astropy import units as u
def base_distortion(input_file, img_file, wht_file, flg_file): -> CsstResult from astropy import constants as const
# csst-l1/mbi/csst_msc_mbi_position
def base_position_single(input_file, img_file, wht_file, flg_file): -> CsstResult # import classes / functions
def base_position_multiple(input_file, img_file, wht_file, flg_file): -> CsstResult from astropy.coordinates import SkyCoord
# csst-l1/mbi/csst_msc_mbi_flux from scipy.interpolate import least_squares
def base_flux(input_file, img_file, wht_file, flg_file): -> CsstResult
# csst-l1/mbi/csst_msc_mbi_photometry # DO NOT use 'import *'
def base_phot(input_file, img_file, wht_file, flg_file): -> CsstResult
# csst-l1/sls/csst_msc_sls_instrument
def base_instcorr(input_file, output_file): -> CsstResult .. 主巡天模块-接口列表
# csst-l1/sls/csst_msc_sls_position .. ----------------------
def base_position(input_file, output_file): -> CsstResult
# csst-l1/sls/csst_msc_sls_mosaic .. .. code-block:: python
def base_mosaic(input_files, output_file): -> CsstResult
# csst-l1/sls/csst_msc_sls_directimage .. # csst-l1/mbi/csst_msc_mbi_instrument
def base_dimg(input_file, output_file): -> CsstResult .. def base_instcorr(input_file, img_file, wht_file, flg_file) -> CsstResult
# csst-l1/sls/csst_msc_sls_sky .. # csst-l1/mbi/csst_msc_mbi_distortion
def base_skybkg(input_file, output_file): -> CsstResult .. def base_distortion(input_file, img_file, wht_file, flg_file): -> CsstResult
# csst-l1/sls/csst_msc_sls_objextraction .. # csst-l1/mbi/csst_msc_mbi_position
def base_objext(input_file, output_file): -> CsstResult .. def base_position_single(input_file, img_file, wht_file, flg_file): -> CsstResult
# csst-l1/sls/csst_msc_sls_axe .. def base_position_multiple(input_file, img_file, wht_file, flg_file): -> CsstResult
def base_axe(input_file, output_file, dir_slsconf): -> CsstResult .. # csst-l1/mbi/csst_msc_mbi_flux
# csst-l1/sls/csst_msc_sls_cde .. def base_flux(input_file, img_file, wht_file, flg_file): -> CsstResult
def base_cde(input_file, output_file, dir_slsconf): -> CsstResult .. # csst-l1/mbi/csst_msc_mbi_photometry
# csst-l1/qc/csst_msc_qc0 .. def base_phot(input_file, img_file, wht_file, flg_file): -> CsstResult
def base_qc0(input_file, output_file): -> CsstResult .. # csst-l1/sls/csst_msc_sls_instrument
# csst-l1/qc/csst_msc_sls_qc1 .. def base_instcorr(input_file, output_file): -> CsstResult
def base_qc1(input_file, output_file): -> CsstResult .. # csst-l1/sls/csst_msc_sls_position
.. def base_position(input_file, output_file): -> CsstResult
.. # csst-l1/sls/csst_msc_sls_mosaic
.. def base_mosaic(input_files, output_file): -> CsstResult
.. # csst-l1/sls/csst_msc_sls_directimage
.. def base_dimg(input_file, output_file): -> CsstResult
.. # csst-l1/sls/csst_msc_sls_sky
.. def base_skybkg(input_file, output_file): -> CsstResult
.. # csst-l1/sls/csst_msc_sls_objextraction
.. def base_objext(input_file, output_file): -> CsstResult
.. # csst-l1/sls/csst_msc_sls_axe
.. def base_axe(input_file, output_file, dir_slsconf): -> CsstResult
.. # csst-l1/sls/csst_msc_sls_cde
.. def base_cde(input_file, output_file, dir_slsconf): -> CsstResult
.. # csst-l1/qc/csst_msc_qc0
.. def base_qc0(input_file, output_file): -> CsstResult
.. # csst-l1/qc/csst_msc_sls_qc1
.. def base_qc1(input_file, output_file): -> CsstResult
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment