public static function fromArray(array $values) { return new self((double) $values['z_value'], (double) $values['deviation']); }