createc.VERT_SPEC¶
- class createc.VERT_SPEC(file_path=None, file_binary=None, file_name=None)¶
Read the .vert file and generate useful and managable stuff
- Parameters:
file_path (str) – Full file path
- Returns:
vert_spec
- Return type:
- __init__(file_path=None, file_binary=None, file_name=None)¶
Methods
__init__([file_path, file_binary, file_name])meta_keys()Print all available keys in meta
Attributes
datetimeReturn datetime objext of the file using the file name
nom_sizeReturn the nominal size of image in angstrom in namedtuple (x, y) assuming no pre-termination while scanning.
offsetReturn offset relatvie to the whole range in angstrom in the format of namedtuple (x, y)
sizeReturn the true size of image in angstrom in namedtuple (x, y)
timestampSame as datetime, but it converts to seconds since 1970, 1, 1.