Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Many of our project projects here at Duke use a program called GalSim.
https://github.com/GalSim-developers/GalSim

...

somewhere into your area. If you did things correctly you can go into the directory and type:

python

...

demo1.py

It

...

will

...

run

...

and

...

then

...

put

...

a

...

‘fits’

...

file

...

in

...

the

...

‘output’

...

directory

...

that

...

you

...

can

...

look

...

at

...

with

...

ds9.

...

If

...

that

...

worked

...

you

...

are

...

ready

...

to

...

start.

I would like you to read and try to understand demo1.py. You could play with it by writing your own program to understand it, or make a Jupyter notebook or something. Once you have done this I would like you to run and understand in the same way if you can demo2.py, demo3.py and demo5.py.

...

There is enough information in the text to figure out how to make this. But one thing: there is no easy way to make a galaxy on its “edge” so just make galaxies from the front with about the correct size and aspect ratio and make them the proper distance apart. Go ahead and add stars.

...