get_ppp_dead | R Documentation |
Uses spatstat::ppp
internally.
Creates an object of class "ppp" representing a point pattern dataset in the two-dimensional plane.
See spatstat docs for details.
get_ppp_dead(detector)
detector |
Detector object |
ppp of dead pixels
# Create a detector
detector_pilatus <- create_detector("Pilatus")
# Load a pixel matrix
file_path <- system.file("extdata", "Pilatus", "badpixel_mask.tif",
package ="detectorchecker")
detector_pilatus <- load_pix_matrix(
detector = detector_pilatus, file_path = file_path)
# Create a point pattern dataset from the detector
dead_ppp <- get_ppp_dead(detector_pilatus)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.