Module Functions¶
-
slimscat.slimscat.
generate_screen
(nphi=8192, dx=1.0, wavelength=1.3e-06, r=5800.0, dpc=8400.0, r_outer=10000000.0, r_inner=12.0, alpha=1.6666666666666667, ips=10, screenfile='screen.bin')¶ Generate isotropic scattering screen. Defaults are for Sgr A*.
Parameters: - nphi – number of pixels in original screen
- dx – pixel scale of image
- wavelength – observing wavelength [m]
- r – source-scatterer distance [pc]
- dpc – earth-source distance [pc]
- r_outer – outer turbulence scale [r0]
- r_inner – inner turbulence scale [r0]
- alpha – power-law index
- ips – image to screen pixel ratio
- screenfile – screen file name
-
slimscat.slimscat.
run_slimscat
(isrc, idx, screenfile='screen.bin')¶ Scatter source image.
Parameters: - isrc – source image
- idx – source pixel scale
- screenfile – screen file