CalibrationServiceId#

pydantic model lstcam_calib.io.database.CalibrationServiceId#

Pydantic schema with all paths of correction and calibration files.

Show JSON schema
{
   "title": "CalibrationServiceId",
   "description": "Pydantic schema with all paths of correction and calibration files.",
   "type": "object",
   "properties": {
      "calibration_service_id": {
         "title": "Calibration Service Id",
         "type": "integer"
      },
      "drs4_baseline_path": {
         "format": "path",
         "title": "Drs4 Baseline Path",
         "type": "string"
      },
      "drs4_time_lapse_path": {
         "format": "path",
         "title": "Drs4 Time Lapse Path",
         "type": "string"
      },
      "drs4_time_sampling_path": {
         "format": "path",
         "title": "Drs4 Time Sampling Path",
         "type": "string"
      },
      "calibration_path": {
         "format": "path",
         "title": "Calibration Path",
         "type": "string"
      },
      "last_modified": {
         "format": "date-time",
         "title": "Last Modified",
         "type": "string"
      }
   },
   "required": [
      "calibration_service_id",
      "drs4_baseline_path",
      "drs4_time_lapse_path",
      "drs4_time_sampling_path",
      "calibration_path",
      "last_modified"
   ]
}

Fields:
field calibration_path: Annotated[Path, PlainSerializer(func=str, return_type=str, when_used=always)] [Required]#

Path to the calibration file with dc_to_pe data

Constraints:
  • func = <class ‘str’>

  • return_type = <class ‘str’>

  • when_used = always

field calibration_service_id: int [Required]#

Incremental id to be used in the CameraConfiguration of the R1 datamodel

field drs4_baseline_path: Annotated[Path, PlainSerializer(func=str, return_type=str, when_used=always)] [Required]#

Path to the DRS4 baseline file used to correct R0 input file

Constraints:
  • func = <class ‘str’>

  • return_type = <class ‘str’>

  • when_used = always

field drs4_time_lapse_path: Annotated[Path, PlainSerializer(func=str, return_type=str, when_used=always)] [Required]#

Path to the DRS4 time lapse file used to correct R0 input file

Constraints:
  • func = <class ‘str’>

  • return_type = <class ‘str’>

  • when_used = always

field drs4_time_sampling_path: Annotated[Path, PlainSerializer(func=str, return_type=str, when_used=always)] [Required]#

Path to the DRS4 time sampling file to be used to correct pulse time

Constraints:
  • func = <class ‘str’>

  • return_type = <class ‘str’>

  • when_used = always

field last_modified: datetime [Required]#

Timestamp when this calibration document was last updated