supersolids.tools.track_property

Track a property of an Schrodinger object. For example the center of mass.

Module Contents

Functions

get_input_path(dir_path, dir_name)

get_last_index(input_path, filename_steps)

get_property(System, property_name = 'get_center_of_mass')

property_check(property, property_name = 'get_center_of_mass', property_func = False, property_args=[])

track_property(input_path, filename_schroedinger=f'schroedinger.pkl', filename_steps=f'step_', steps_format = '%06d', steps_per_npz = 10, frame_start = 0, property_name = 'get_center_of_mass', property_func = False, property_args=[])

property_to_array(property_tuple)

Attributes

parser

supersolids.tools.track_property.get_input_path(dir_path, dir_name)
supersolids.tools.track_property.get_last_index(input_path, filename_steps)
supersolids.tools.track_property.get_property(System, property_name='get_center_of_mass')
Parameters
  • System (supersolids.Schroedinger) –

  • property_name (str) –

supersolids.tools.track_property.property_check(property, property_name='get_center_of_mass', property_func=False, property_args=[])
Parameters
  • property_name (str) –

  • property_func (bool) –

supersolids.tools.track_property.track_property(input_path, filename_schroedinger=f'schroedinger.pkl', filename_steps=f'step_', steps_format = '%06d', steps_per_npz = 10, frame_start = 0, property_name = 'get_center_of_mass', property_func = False, property_args=[])
Parameters
  • steps_format (str) –

  • steps_per_npz (int) –

  • frame_start (int) –

  • property_name (str) –

  • property_func (bool) –

supersolids.tools.track_property.property_to_array(property_tuple)
supersolids.tools.track_property.parser