synpivimage.laser.Laser.load_jsonld#
- classmethod Laser.load_jsonld(filename)[source]#
Load the Laser from a JSON-LD file
Note
This function will return a list of Laser objects. This may be confusing, but there might be multiple lasers in the JSON file.
- Parameters:
filename (
Union[str,pathlib.Path]) – The filename to load the component from- Returns:
List[Laser]– List of laser objects