In relax data for different analyses are stored in different data pipes. The current data pipe is abbreviated as '''cdp''' and this Python data object is available within scripts and anywhere in the relax source code.
== cdp - The current data pipe ==
cdp is a [http://docs.python.org/2/tutorial/classes.html python class object].<br>
=== Return the list of attributes ===
<source lang="python">
print (type(cdp))
<class 'data_store.pipe_container.PipeContainer'>
'11_18': 360.0, '8_30': 600.0}
print (type(cdp.cpmg_frqs))
<type 'dict'>
for key, value in cdp.cpmg_frqs.iteritems(): print ("%s %s" % (key, value))
6_6 120.0
3_30 600.0
=== List model type ===
<source lang="python">
print ("%s %s" % (cdp.model_type, type(cdp.model_type)))
disp <type 'str'>
</source>
=== List spectrum ID's ===
<source lang="python">
print ("%s %s" % (cdp.spectrum_ids, len(cdp.spectrum_ids)))
['0_2', '1_0', '2_8', '3_30', '4_4', '5_42', '6_6', '7_2', '8_30', '9_46', '10_10', '11_18', '12_26',
'13_38', '14_2', '15_14', '16_14', '17_30', '18_22', '19_46', '20_14', '21_34', '22_46'] 23
=== List replicate spectrum ID's ===
<source lang="python">
print (cdp.replicates)
[['0_2', '7_2', '14_2'], ['15_14', '16_14', '20_14'], ['3_30', '8_30', '17_30'], ['9_46', '19_46', '22_46']]
</source>
== See also ==
[[Category:Development]]
[[Category:list_objects]]