code: def solar(lam: np.ndarray) -> np.ndarray:
      # saved with np.save(filename, e) and dumped in this folder
      a = np.load(Path(__file__).with_name("wavelength_solar.npy"))
      e = np.load(Path(__file__).with_name("epsilon_solar.npy"))
      jsc = np.interp(lam, a, e)
      return jsc
  
file_path: nevergrad/nevergrad/functions/photonics/photonics.py
imports: import typing
  from pathlib import Path
  import numpy
  from scipy.linalg import toeplitz
label_desc: Use image node_id 12 for calling a global function with example usage: solar(lam) and returns: jsc