Commit 3b3ba9ed authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

updated example

parent 69b719fe
...@@ -49,10 +49,19 @@ class CsstProcFlipImage(CsstProcessor): ...@@ -49,10 +49,19 @@ class CsstProcFlipImage(CsstProcessor):
return return
@staticmethod @staticmethod
def run_one_detector(dm, ccd_id): def run_one_detector(dm: CsstMscDataManager, ccd_id: int = 6):
""" run for one detector """ run for one detector
this function Parameters
----------
dm:
csst data manager, used to manage the input/output file paths
ccd_id:
detector id
Returns
-------
the flipped image
""" """
# input file path # input file path
fp_input = dm.l1_ccd(ccd_id, post="img.fits") fp_input = dm.l1_ccd(ccd_id, post="img.fits")
......
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