Loading examples/how_this_code_will_be_used.py +11 −2 Original line number Diff line number Diff line Loading @@ -49,10 +49,19 @@ class CsstProcFlipImage(CsstProcessor): return @staticmethod def run_one_detector(dm, ccd_id): def run_one_detector(dm: CsstMscDataManager, ccd_id: int = 6): """ 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 fp_input = dm.l1_ccd(ccd_id, post="img.fits") Loading Loading
examples/how_this_code_will_be_used.py +11 −2 Original line number Diff line number Diff line Loading @@ -49,10 +49,19 @@ class CsstProcFlipImage(CsstProcessor): return @staticmethod def run_one_detector(dm, ccd_id): def run_one_detector(dm: CsstMscDataManager, ccd_id: int = 6): """ 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 fp_input = dm.l1_ccd(ccd_id, post="img.fits") Loading