An Introduction to CASA and Simulations with Simdata May 25, 2011.
An Introduction to Simdata
description
Transcript of An Introduction to Simdata
![Page 1: An Introduction to Simdata](https://reader035.fdocuments.net/reader035/viewer/2022062811/56816178550346895dd10710/html5/thumbnails/1.jpg)
An Introduction to Simdata
Scott Schnee (NRAO)
Victoria Workshop – Jan 18, 2011
![Page 2: An Introduction to Simdata](https://reader035.fdocuments.net/reader035/viewer/2022062811/56816178550346895dd10710/html5/thumbnails/2.jpg)
What is Simdata Good For?
• Number of antennas• Antenna configuration• Length of observation• Noise
Take a model image and find out how it would look if observed with ALMA
![Page 3: An Introduction to Simdata](https://reader035.fdocuments.net/reader035/viewer/2022062811/56816178550346895dd10710/html5/thumbnails/3.jpg)
Model Image30Dor Spitzer IRAC 8um image from SAGE
![Page 4: An Introduction to Simdata](https://reader035.fdocuments.net/reader035/viewer/2022062811/56816178550346895dd10710/html5/thumbnails/4.jpg)
Model ImageResized and now at 230 GHz
![Page 5: An Introduction to Simdata](https://reader035.fdocuments.net/reader035/viewer/2022062811/56816178550346895dd10710/html5/thumbnails/5.jpg)
Fourier Transforms of Images
From http://carmilumban-ap186.blogspot.com
![Page 6: An Introduction to Simdata](https://reader035.fdocuments.net/reader035/viewer/2022062811/56816178550346895dd10710/html5/thumbnails/6.jpg)
Scales Measured by ES ConfigurationAntenna Placement uv-coverage synthesized beam
2 hour observation
![Page 7: An Introduction to Simdata](https://reader035.fdocuments.net/reader035/viewer/2022062811/56816178550346895dd10710/html5/thumbnails/7.jpg)
Scales Measured by FS CompactAntenna Placement uv-coverage synthesized beam
2 hour observation
![Page 8: An Introduction to Simdata](https://reader035.fdocuments.net/reader035/viewer/2022062811/56816178550346895dd10710/html5/thumbnails/8.jpg)
Scales Measured by FS ExtendedAntenna Placement uv-coverage synthesized beam
2 hour observation
![Page 9: An Introduction to Simdata](https://reader035.fdocuments.net/reader035/viewer/2022062811/56816178550346895dd10710/html5/thumbnails/9.jpg)
Model Image in ES Configuration
Model Image Convolved Model “Observed” Image
2 hour observation
![Page 10: An Introduction to Simdata](https://reader035.fdocuments.net/reader035/viewer/2022062811/56816178550346895dd10710/html5/thumbnails/10.jpg)
Model Image in FS Compact
Model Image Convolved Model “Observed” Image
2 hour observation
![Page 11: An Introduction to Simdata](https://reader035.fdocuments.net/reader035/viewer/2022062811/56816178550346895dd10710/html5/thumbnails/11.jpg)
Model Image in FS Extended
Model Image Convolved Model “Observed” Image
2 hour observation
![Page 12: An Introduction to Simdata](https://reader035.fdocuments.net/reader035/viewer/2022062811/56816178550346895dd10710/html5/thumbnails/12.jpg)
Basic Simdata Inputs
• Image / model of target• Observing time• Antenna configuration
![Page 13: An Introduction to Simdata](https://reader035.fdocuments.net/reader035/viewer/2022062811/56816178550346895dd10710/html5/thumbnails/13.jpg)
Basic Simdata Inputs
![Page 14: An Introduction to Simdata](https://reader035.fdocuments.net/reader035/viewer/2022062811/56816178550346895dd10710/html5/thumbnails/14.jpg)
FITS Image Basics
• Coordinates• Brightness• Observing Frequency• Resolution (angular and spectral)• Polarization (if needed)
![Page 15: An Introduction to Simdata](https://reader035.fdocuments.net/reader035/viewer/2022062811/56816178550346895dd10710/html5/thumbnails/15.jpg)
modifymodel
• modifymodel = True• skymodel = “30dor.fits”• inbright = ”0.1mJy/pixel”• indirection = "J2000 10:00:00 -40:00:00”• incell = "0.25arcsec”• incenter = "230GHz”• inwidth = '2GHz'
![Page 16: An Introduction to Simdata](https://reader035.fdocuments.net/reader035/viewer/2022062811/56816178550346895dd10710/html5/thumbnails/16.jpg)
setpointings
• integration = '600s’• mapsize = "”• pointingspacing = ""
![Page 17: An Introduction to Simdata](https://reader035.fdocuments.net/reader035/viewer/2022062811/56816178550346895dd10710/html5/thumbnails/17.jpg)
predict
• repodir = os.getenv("CASAPATH").split(' ')[0]• antennalist = repodir+"/data/alma/simmos/alma.early.250m.cfg"
![Page 18: An Introduction to Simdata](https://reader035.fdocuments.net/reader035/viewer/2022062811/56816178550346895dd10710/html5/thumbnails/18.jpg)
Simdata Output
• analyze = True• showarray = True• showconvolved = True• showdifference = False• showfidelity = False
![Page 19: An Introduction to Simdata](https://reader035.fdocuments.net/reader035/viewer/2022062811/56816178550346895dd10710/html5/thumbnails/19.jpg)
Simdata Output
![Page 20: An Introduction to Simdata](https://reader035.fdocuments.net/reader035/viewer/2022062811/56816178550346895dd10710/html5/thumbnails/20.jpg)
Simdata Output
![Page 21: An Introduction to Simdata](https://reader035.fdocuments.net/reader035/viewer/2022062811/56816178550346895dd10710/html5/thumbnails/21.jpg)
Simdata Output - Viewer
![Page 22: An Introduction to Simdata](https://reader035.fdocuments.net/reader035/viewer/2022062811/56816178550346895dd10710/html5/thumbnails/22.jpg)
Other Simdata OptionsThermal Noise
• thermalnoise = ‘tsys-atm’• image = True• vis=‘$project.noisy.ms’
![Page 23: An Introduction to Simdata](https://reader035.fdocuments.net/reader035/viewer/2022062811/56816178550346895dd10710/html5/thumbnails/23.jpg)
Other Simdata OptionsThermal Noise
Convolved Model Thermal NoiseNo Thermal Noise
![Page 24: An Introduction to Simdata](https://reader035.fdocuments.net/reader035/viewer/2022062811/56816178550346895dd10710/html5/thumbnails/24.jpg)
Other Simdata OptionsPhase Noise
Convolved Model No Phase Noise Phase Noise
![Page 25: An Introduction to Simdata](https://reader035.fdocuments.net/reader035/viewer/2022062811/56816178550346895dd10710/html5/thumbnails/25.jpg)
Other Simdata OptionsPhase Noise
• Create measurement set with simdata• Use the “toolkit” to add phase noise– http://casa.nrao.edu/docs/CasaRef/CasaRef.html– http://casaguides.nrao.edu/index.php?title=Corrupt– sm.openfromms("simPN.ms")– sm.settrop(mode='screen',pwv=1.0,deltapwv=0.15)– sm.corrupt()– sm.done()
• Use clean (in CASA) to make the image
![Page 26: An Introduction to Simdata](https://reader035.fdocuments.net/reader035/viewer/2022062811/56816178550346895dd10710/html5/thumbnails/26.jpg)
Your Turn
• Find a fits file of an object you want to image• Use simdata to see how it would look if
observed with ALMA– Rescale image if necessary– Try different antenna configurations– Add noise if interested
• Don’t be afraid to ask for help!