Not sure if this is what you are after, but maybe this is useful? Example notebook for truncated regression