set

pyarts.cat.zeeman.set(ws, lines, directory, spec)[source]

Set Zeeman coefficients

Looks in directory for a file {spec}.aoqi.xml and {spec}.g.xml to find replacement data

Parameters:
  • ws (Workspace) – A pyarts workspace

  • lines (pyarts workspace variable) – An ArrayOfAbsorptionLines (modified in-place)

  • directory (str) – A directory with Zeeman data

  • spec (str) – An Arts species

Returns:

lines modified