Adds cosmic rays to an image using the assumptions that the CCD characteristics match those found on the SNAP satellite silicon detector. Simulates rays entering at all angles, and diffusion across pixel boundaries. Modifies the values in the pixel array.
Parameters
| Name | Type | Description |
|---|---|---|
| NumberRays | int | Number of cosmic rays to add to an image. |
| RatioHeightWidth | double | ratio between thickness and width of each pixel. |
Inputs
| Name | Type | Description |
|---|---|---|
| Image/Data | double* | Array of pixel values of image |
| Image/Width | int | Width of image in pixels |
| Image/Height | int | Height of image in pixels |
Outputs
| Name | Type | Description |
|---|---|---|