Path: SpacecraftEstimation/StarSimulation
-------------------------------------------------------------------------- Finds the output of each pixel through numerical integration. The default plot output colors the pixels as a function of height. A built in 2D Gaussian function is available for demos or as a reasonable approximation to a real point spread function. The demo is for a 64 by 64 imaging chip. As you make the imager bigger it will slow down. For most studies you can use fewer than the full imager. funPSF must be of the form: funPSF(x,y,d) x and y are arrays passed by integral. They are two dimensional. Your function must return the same size array. funPSF gets passed the centroids and intensities of the point spread functions through the data structure d as d.rPSF and d.iPSF. You can attach any other data you want to d.funData as shown above. Type IntegratePSFs for a demo using RHSGaussianPSF. -------------------------------------------------------------------------- Form: d = IntegratePSFs % default data structure p = IntegratePSFs( d ) -------------------------------------------------------------------------- ------ Inputs ------ d (.) Data structure for imager .funPSF (*) Pointer to point spread function RHS .funData (.) Function data .rPSF (2,:) Location of PSF in imager frame (um) 1st row (x): columnwise 2nd row (y): rowwise .iPSF (1,:) Magnitude of each PSF .m (1,1) Rows .n (1,1) Columns .xPixel (1,1) X dimension of each pixel (um) .yPixel (1,1) Y dimension of each pixel (um) nPix (1,1) Number of pixels (radius) to integrate each PSF over when computing individual pixels values. default: 6 ------- Outputs ------- p (m,n) Pixel output iC (1,:) Intensity of each centroid --------------------------------------------------------------------------
Common: General/DeBlankLT Common: Graphics/NewFig Common: Graphics/PltStyle Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS Imaging: PSFUtils/ImagerPSF Imaging: PSFUtils/RHSGaussianPSF
Back to the SpacecraftEstimation Module page