PYME.simulation.pointsets module¶
- class PYME.simulation.pointsets.FileSource(*args, **kwargs)¶
Bases:
PointSource
- file = <PYME.misc.mock_traits.CStr object>¶
- genMetaData(mdh)¶
- getPoints()¶
- class PYME.simulation.pointsets.ImageSource(*args, **kwargs)¶
Bases:
PointSource
- default_traits_view()¶
- genMetaData(mdh)¶
- getPoints()¶
- get_bounds()¶
- helpInfo = {'image': '\nSelect an image from the list of open images.\nNote that you need to open or generate the source image you want to use so that this\nlist is not empty. The image will be normalised for the purpose of the simulation,\nwith its maximum set to 1. It describes the density of markers in the simulated sample,\nwhere values of 1 have a density of markers as given by the `points per pixel` parameter, i.e.\nin the Monte-Carlo sampling the acceptance probability = image*points_per_pixel. Smaller\ndensity values therefore give rise to proportionally fewer markers per pixel.\n', 'points_per_pixel': "\nSelect average number of points (dye molecules or docking sites) per pixel in image regions where the density values are 1.\nThe number is a floating point fraction, e.g. 0.1, and shouldn't exceed 1. It is used for Monte-Carlo rejection of positions\nand larger values (>~0.2) will result in images which have visible pixel-grid structure because the Monte-Carlo sampling\nis no longer a good approximation to random sampling over the grid. If this is a problem for your application / you can't\nget high enough density without a high acceptance fraction, use an up-sampled source image with a smaller pixel size.\n"}¶
- helpStr(name)¶
- image = <PYME.simulation.pointsets.WRDictEnum object>¶
- points_per_pixel = <PYME.misc.mock_traits.Float object>¶
- refresh_choices()¶
- class PYME.simulation.pointsets.PointSource(*args, **kwargs)¶
Bases:
HasTraits
- points()¶
- refresh_choices()¶
- class PYME.simulation.pointsets.SHNucleusSource(*args, **kwargs)¶
Bases:
PointSource
- axis_scaling = <PYME.misc.mock_traits.List object>¶
- axis_sigmas = <PYME.misc.mock_traits.List object>¶
- getPoints()¶
- point_spacing = <PYME.misc.mock_traits.Float object>¶
- class PYME.simulation.pointsets.WRDictEnum(wrdict, *args, **metadata)¶
Bases:
BaseEnum
- create_editor()¶
- property values¶
- class PYME.simulation.pointsets.WiglyFibreSource(*args, **kwargs)¶
Bases:
PointSource
- centre = <PYME.misc.mock_traits.CStr object>¶
- flatten = <PYME.misc.mock_traits.CStr object>¶
- getPoints()¶
- length = <PYME.misc.mock_traits.Float object>¶
- numFluors = <PYME.misc.mock_traits.CStr object>¶
- persistLength = <PYME.misc.mock_traits.Float object>¶
- zScale = <PYME.misc.mock_traits.Float object>¶
- class PYME.simulation.pointsets.WormlikeSource(*args, **kwargs)¶
Bases:
PointSource
- genMetaData(mdh)¶
- getPoints()¶
- kbp = <PYME.misc.mock_traits.Float object>¶
- lengthPerKbp = <PYME.misc.mock_traits.Float object>¶
- persistLength = <PYME.misc.mock_traits.Float object>¶
- steplength = <PYME.misc.mock_traits.Float object>¶