Difference between revisions of "Cdp"
Jump to navigation
Jump to search
(Created page with "== cdp - The current data protocol == cdp is a [http://docs.python.org/2/tutorial/classes.html python class object].<br> Knowing this, we can access information from the clas...") |
|||
Line 7: | Line 7: | ||
<source lang="python"> | <source lang="python"> | ||
dir(cdp) | dir(cdp) | ||
− | ['__class__', '__clone__', '__deepcopy__', '__delattr__', '__dict__', '__doc__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_back_compat_hook', '_back_compat_hook_ri_data', 'cpmg_frqs', 'cpmg_frqs_list', 'dispersion_points', 'exp_type', 'from_xml', 'hybrid_pipes', 'int_method', 'interatomic', 'is_empty', 'model_type', 'mol', 'num_time_pts', 'pipe_type', 'relax_time_list', 'relax_times', 'replicates', 'result_files', 'sigma_I', 'sim_number', 'sim_state', 'spectrometer_frq', 'spectrometer_frq_count', 'spectrometer_frq_list', 'spectrum_ids', 'spin_lock_nu1_list', 'to_xml', 'var_I', 'xml_create_hybrid_element'] | + | ['__class__', '__clone__', '__deepcopy__', '__delattr__', '__dict__', '__doc__', '__format__', |
+ | '__getattribute__', '__hash__', '__init__', '__module__', '__new__', '__reduce__', '__reduce_ex__', | ||
+ | '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_back_compat_hook','_back_compat_hook_ri_data', | ||
+ | 'cpmg_frqs', 'cpmg_frqs_list', 'dispersion_points', 'exp_type', 'from_xml', 'hybrid_pipes', 'int_method', | ||
+ | 'interatomic', 'is_empty', 'model_type', 'mol', 'num_time_pts', 'pipe_type', 'relax_time_list', 'relax_times', | ||
+ | 'replicates', 'result_files', 'sigma_I', 'sim_number', 'sim_state', 'spectrometer_frq', 'spectrometer_frq_count', | ||
+ | 'spectrometer_frq_list', 'spectrum_ids', 'spin_lock_nu1_list', 'to_xml', 'var_I', 'xml_create_hybrid_element'] | ||
</source> | </source> |
Revision as of 15:08, 13 June 2013
cdp - The current data protocol
cdp is a python class object.
Knowing this, we can access information from the class.
return the list of attributes
dir(cdp)
['__class__', '__clone__', '__deepcopy__', '__delattr__', '__dict__', '__doc__', '__format__',
'__getattribute__', '__hash__', '__init__', '__module__', '__new__', '__reduce__', '__reduce_ex__',
'__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_back_compat_hook','_back_compat_hook_ri_data',
'cpmg_frqs', 'cpmg_frqs_list', 'dispersion_points', 'exp_type', 'from_xml', 'hybrid_pipes', 'int_method',
'interatomic', 'is_empty', 'model_type', 'mol', 'num_time_pts', 'pipe_type', 'relax_time_list', 'relax_times',
'replicates', 'result_files', 'sigma_I', 'sim_number', 'sim_state', 'spectrometer_frq', 'spectrometer_frq_count',
'spectrometer_frq_list', 'spectrum_ids', 'spin_lock_nu1_list', 'to_xml', 'var_I', 'xml_create_hybrid_element']