AgentImagesProcessor_tnc_up1.py
607 Bytes
import sys
sys.path.append("..")
sys.path.append("../../../..")
from src.core.pyros_django.observation_manager.AgentImagesProcessor import AgentImagesProcessor
class AgentImagesProcessor_tnc_up1(AgentImagesProcessor):
def bias_correction(self):
# - Search the bias
log.info("TOTO")
path_bias = os.path.join( self._paths['ima_bias'], self._date_night )
fitsbiasfiles = glob.glob(f"{path_bias}/*.fit")
log.info(f"fitsbiasfiles = {fitsbiasfiles}")
if len(fitsbiasfiles) > 0:
# - Select the bias
pass