Download and Run

Click here to download code

This code uses the Python programing language, which should be standard on many computers but can be downloaded here.  Furthermore, this module requires recent versions of matplotlib, which can downloaded and installed here.

There are two versions of the code present.  The standard “clumpmodel.py” uses statistical approximations to allow the code to run considerably faster and therefore be more interactive. The other “clumpmodel_slower.py” calculates properties for each individual clump seperately, and therefore can take a very long time to calculate if your cloud contains a large number of clumps.

To run the code, simply open a terminal for Mac/Linux users or a command prompt for Windows. Navigate to the directory where you downloaded the python code and type:

python clumpmodel.py

This should open up the interactive window, which is described here.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s