febid.simple_patterns.open_stream_file#
- open_stream_file(file, hfw, offset=200, collapse=False)[source]#
- Open stream file, convert to nm and define enclosing volume dimensions.
A valid stream-file should consist of 3 columns and start with ‘s16’ line.
- Parameters:
file – path to the stream-file
hfw – target half field width
offset – determines a margin around the printing path
collapse – if True, summ dwell time of consecutive instructions with identical coordinates
- Returns:
normalized directives in nm and s, dimensions of the enclosing volume [z, y, x] in nm