rotor: Create a rotor object

Description Usage Arguments Details Examples

View source: R/rotor.R

Description

Constructor function to create new rotor class objects.

Usage

1
2
3
4
rotor(model = "custom", type = "sw", R.min, R.max, FA.angle = NA,
  FA.diameter = NA)

list_rotors()

Arguments

model

Use a custom or preset rotor. Setting model to "custom" allows use of the other parameters. Use list_rotors() to see preset model choices.

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.

Details

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.

Examples

 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)

wfondrie/evrspin documentation built on May 4, 2019, 5:22 a.m.