Description Usage Arguments Details Examples
Constructor function to create new rotor class objects.
1 2 3 4 | rotor(model = "custom", type = "sw", R.min, R.max, FA.angle = NA,
FA.diameter = NA)
list_rotors()
|
model |
Use a custom or preset rotor.
Setting model to "custom" allows use of the other parameters. Use
|
type |
Swinging-bucket ("sw") or fixed-angle ("fa"). |
R.min |
The minimum radius of the rotor in mm. |
R.max |
The maximum radius of the rotor in mm. |
FA.angle |
The tube angle in degrees for fixed-angle rotors. Necessary to calculate the sedimentation path length. |
FA.diameter |
The tube diameter in mm for fixed-angle rotors. Necessary to calculate the sedimentation path length. |
Rotor objects are lists that contain the physical parameters of specific
rotors. The rotor()
function creates a new rotor object for use with other evrspin
functions.
While a user may specify parameters individually using model = "custom"
, there
are a number of preset rotors that can be selected through the model
parameter.
Use list_rotors()
to return a dataframe containing the preset rotors.
Note that if model != "custom"
, all other parameters are overidden by
the preset values.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # List preset rotors
list_rotors()
# Create a Beckman SW 40 Ti rotor object
rotor(model = "sw40")
# Create your own swinging-bucket rotor object.
# Note that FA.angle and FA.diameter are not needed for swinging-bucket rotors.
rotor(model = "custom", type = "sw", R.min = 10, R.max = 25)
# Create your own fixed-angle rotor object.
rotor(model = "custom", type = "fa", R.min = 10, R.max = 15, FA.angle = 30, FA.diameter = 10)
# Other parameters are overidden if model != "custom"
rotor(model = "sw40", type = "fa", R.min = 10, R.max = 15, FA.angle = 30, FA.diameter = 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.