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

updated example

parent 69b719fe
Loading
Loading
Loading
Loading
+11 −2
Original line number Diff line number Diff line
@@ -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")