code: def write_julian(fid, kind, data):
      """Write a Julian-formatted date to a FIF file."""
      assert len(data) == 3
      data_size = 4
      jd = np.sum(_cal_to_julian(*data))
      data = np.array(jd, dtype=">i4")
      _write(fid, data, kind, data_size, FIFF.FIFFT_JULIAN, ">i4")
  
imports: import os.path
  import re
  import time
  import uuid
  from contextlib import contextmanager
  from gzip import GzipFile
  import numpy
  from scipy.sparse import csc_matrix, csr_matrix
  from ..utils import _file_like, _validate_type, logger
  from ..utils.numerics import _cal_to_julian
  from .constants import FIFF
label_desc: Use image node_id 10 for calling a global function with example usage: write_julian(fid, kind, data) without return types