parameters: (config_dict)
return_statement: return vanadium_sample_details
docstring: Creates a SampleDetails object based on a vanadium sample which is found
      in the advanced config of an instrument.
      :param config_dict: The advanced config dictionary of the instrument for the vanadium sample
      :return: A sample details object which holds properties used in sample corrections
docstring_summary: Creates a SampleDetails object based on a vanadium sample which is found
      in the advanced config of an instrument.
      :param config_dict: The advanced config dictionary of the instrument for the vanadium sample
      :return: A sample details object which holds properties used in sample corrections
docstring_tokens: Creates a SampleDetails object based on a vanadium sample which is found in the advanced config of an instrument . : param config_dict : The advanced config dictionary of the instrument for the vanadium sample : return : A sample details object which holds properties used in sample corrections
function: def create_vanadium_sample_details_obj(config_dict):
      """
      Creates a SampleDetails object based on a vanadium sample which is found
      in the advanced config of an instrument.
      :param config_dict: The advanced config dictionary of the instrument for the vanadium sample
      :return: A sample details object which holds properties used in sample corrections
      """
      height_key = "cylinder_sample_height"
      radius_key = "cylinder_sample_radius"
      pos_key = "cylinder_position"
      formula_key = "chemical_formula"
      number_density_key = "number_density"
  
      e_msg = "The following key was not found in the advanced configuration for sample correction:\n"
  
      height = common.dictionary_key_helper(dictionary=config_dict, key=height_key, exception_msg=e_msg + height_key)
      radius = common.dictionary_key_helper(dictionary=config_dict, key=radius_key, exception_msg=e_msg + radius_key)
      pos = common.dictionary_key_helper(dictionary=config_dict, key=pos_key, exception_msg=e_msg + pos_key)
      formula = common.dictionary_key_helper(dictionary=config_dict, key=formula_key, exception_msg=e_msg + formula_key)
      number_density = common.dictionary_key_helper(dictionary=config_dict, key=number_density_key, throws=False)
  
      vanadium_sample_details = sample_details.SampleDetails(height=height, radius=radius, center=pos, shape="cylinder")
      vanadium_sample_details.set_material(chemical_formula=formula, number_density=number_density)
      return vanadium_sample_details
function_tokens: def create_vanadium_sample_details_obj ( config_dict ) : height_key = "cylinder_sample_height" radius_key = "cylinder_sample_radius" pos_key = "cylinder_position" formula_key = "chemical_formula" number_density_key = "number_density" e_msg = "The following key was not found in the advanced configuration for sample correction:\n" height = common . dictionary_key_helper ( dictionary = config_dict , key = height_key , exception_msg = e_msg + height_key ) radius = common . dictionary_key_helper ( dictionary = config_dict , key = radius_key , exception_msg = e_msg + radius_key ) pos = common . dictionary_key_helper ( dictionary = config_dict , key = pos_key , exception_msg = e_msg + pos_key ) formula = common . dictionary_key_helper ( dictionary = config_dict , key = formula_key , exception_msg = e_msg + formula_key ) number_density = common . dictionary_key_helper ( dictionary = config_dict , key = number_density_key , throws = False ) vanadium_sample_details = sample_details . SampleDetails ( height = height , radius = radius , center = pos , shape = "cylinder" ) vanadium_sample_details . set_material ( chemical_formula = formula , number_density = number_density ) return vanadium_sample_details