structure_factors() "d_max" equivalent
![](https://secure.gravatar.com/avatar/6afe9370008933d2a6c173d2fa923f02.jpg?s=120&d=mm&r=g)
Hello All, I'm new to cctbx and trying to get the most rudimentary understanding. I would like to select all of the reflections within a particular resolution shell. This line from the tutorial: f_calc = quartz_structure.structure_factors(d_min=2).f_calc_array() gets all structure factors through the highest resolution of d_min=2 Å (excluding 0 0 0). My question: is there an equivalent to a d_max argument for this function (i.e. a low resolution limit)? James
![](https://secure.gravatar.com/avatar/960de845419a9e4deff89fa1ffba8d6b.jpg?s=120&d=mm&r=g)
Hi James,
i think that the method resolution_filter, of miller.array objects, could
do that for you.
Cheers,
Claudia Millán ([email protected])
Institut de Biologia Molecular de Barcelona (IBMB-CSIC)
Barcelona, Spain
2013/3/21 James Stroud
Hello All,
I'm new to cctbx and trying to get the most rudimentary understanding.
I would like to select all of the reflections within a particular resolution shell. This line from the tutorial:
f_calc = quartz_structure.structure_factors(d_min=2).f_calc_array()
gets all structure factors through the highest resolution of d_min=2 Å (excluding 0 0 0).
My question: is there an equivalent to a d_max argument for this function (i.e. a low resolution limit)?
James _______________________________________________ cctbxbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/cctbxbb
![](https://secure.gravatar.com/avatar/7984547b53fca6ae837ba286f9c92e29.jpg?s=120&d=mm&r=g)
Hi James, a few options: 1) f_new = f_calc.resolution_filter(d_min=3, d_max=5) 2) d_spacings = f_calc.d_spacings() selection = d_spacings > 3 selection &=d_spacings < 5 f_new = f_calc.select(selection) Pavel On 3/21/13 12:50 AM, James Stroud wrote:
Hello All,
I'm new to cctbx and trying to get the most rudimentary understanding.
I would like to select all of the reflections within a particular resolution shell. This line from the tutorial:
f_calc = quartz_structure.structure_factors(d_min=2).f_calc_array()
gets all structure factors through the highest resolution of d_min=2 Å (excluding 0 0 0).
My question: is there an equivalent to a d_max argument for this function (i.e. a low resolution limit)?
James _______________________________________________ cctbxbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/cctbxbb
![](https://secure.gravatar.com/avatar/cad35f4dd77b3ab8e60ede4e3d54c6f4.jpg?s=120&d=mm&r=g)
I realize everyone has an endless to-do list, but this would be
awesome wiki material.
Also note that the binning functionality of cctbx.miller.array
provides a way to generate resolution shells automatically, although
I'd need to check the exact syntax.
-Nat
On Thu, Mar 21, 2013 at 7:34 AM, Pavel Afonine
Hi James,
a few options:
1) f_new = f_calc.resolution_filter(d_min=3, d_max=5)
2) d_spacings = f_calc.d_spacings() selection = d_spacings > 3 selection &=d_spacings < 5 f_new = f_calc.select(selection)
Pavel
On 3/21/13 12:50 AM, James Stroud wrote:
Hello All,
I'm new to cctbx and trying to get the most rudimentary understanding.
I would like to select all of the reflections within a particular resolution shell. This line from the tutorial:
f_calc = quartz_structure.structure_factors(d_min=2).f_calc_array()
gets all structure factors through the highest resolution of d_min=2 Å (excluding 0 0 0).
My question: is there an equivalent to a d_max argument for this function (i.e. a low resolution limit)?
James _______________________________________________ cctbxbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/cctbxbb
_______________________________________________ cctbxbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/cctbxbb
participants (4)
-
Claudia Millán Nebot
-
James Stroud
-
Nathaniel Echols
-
Pavel Afonine