Electrical and functional characterization of a novel self-biased linear silicon drift detector