Spectroflat: A generic spectrum and flat-field calibration library for spectro-polarimetric data | Synapse