diff --git a/notebooks/FastCCD/Characterize_Darks_NewDAQ_FastCCD_NBC_New_Common_Mode.ipynb b/notebooks/FastCCD/Characterize_Darks_NewDAQ_FastCCD_NBC_New_Common_Mode.ipynb index 909f1ea21d8ead601cf01ff68c6a5cb87531714d..6a082da71b35892ca8ce82e4588757feb2025bba 100644 --- a/notebooks/FastCCD/Characterize_Darks_NewDAQ_FastCCD_NBC_New_Common_Mode.ipynb +++ b/notebooks/FastCCD/Characterize_Darks_NewDAQ_FastCCD_NBC_New_Common_Mode.ipynb @@ -45,7 +45,7 @@ "bad_pixel_offset_sigma = 5. # Any pixel whose offset is beyond 5 standard deviations, is a bad pixel\n", "bad_pixel_noise_sigma = 5. # Any pixel whose noise is beyond 5 standard deviations, is a bad pixel\n", "sigmaNoise = 5. # Any pixel whose signal exceeds 'sigmaNoise'*noiseCM (common mode corrected noise) will be masked\n", - "fix_temperature = 0. # This is required when the temperature is fixed in calibration database\n", + "temperature_k = 0. # This is required. Set to 0 when temperature is not fixed in the calibration database.\n", "chunkSize = 100 # Number of images to read per chunk\n", "cpuCores = 40 # Specifies the number of running cpu cores\n", "commonModeAxis = 1 # Axis along which common mode will be calculated (0: along rows, 1: along columns)\n", @@ -220,8 +220,7 @@ "print(\"Detector gain is set to x{}\".format(det_gain), \"({} gain)\".format(gain_setting))\n", "print(\"Detector integration time is set to {}\".format(integration_time), 'ms')\n", "\n", - "temperature_k = fix_temperature + 273.15\n", - "if fix_temperature != 0.:\n", + "if temperature_k != 0.:\n", " print(\"Using a fixed temperature of {}\".format(temperature_k), \"K\")\n", "else:\n", " # This is needed while sending the \n",