Welcome to the relax Wiki.
The community-run support site for relax, a program for the study of molecular dynamics using experimental NMR data.
|
User contributions - How to edit pages at the wiki
Please read the guidelines here.
What's new?
|
Did you know...
Background
When you create a range in relax, it is created as an xrange object.
This is due to memory issues, which you can read about here.
You cannot by default slice through xrange objects.
The dateutil.rrule package (version 1.5) used in matplotlib/pylab creates some list, which it expects it can slice through.
dateutil.rrule package (version 2.2) does not have this problem.
But relax will create these as xrange which is not-sliceable.
Let's try it out.
<source lang="python">
USER@MACHINE: $ python
>>> x=range(10)
>>> type(x)
<type 'list'>
>>> print x[:3]
[0, 1, 2]
- Lets create an xrange object.
>>> y=xrange(10)
>>> type(y)
<type 'xrange'>
>>> print y[:3]
Traceback (most recent call last):
File "<stdin>", line 1, ..→
|
|
|
Random screenshots
The analysis selection wizard
Steady-state NOE analysis
|
|