Changes between Version 7 and Version 8 of u/erica/CF_coldens


Ignore:
Timestamp:
01/19/15 15:13:27 (10 years ago)
Author:
Erica Kaminski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • u/erica/CF_coldens

    v7 v8  
    2323Note, for my setup, lscale is the number of cm in 1 pc, and my nscale is 1. This means that computational density and length can be thought of as being in units of cm^-3^ and pc. Thus the quantity the code gives for 'projected column density in computational units' is for all intents and purposes, in units of pc/cm^3^. To convert this to 1/cm^2^, multiply by the conversion factor 1pc = 3.08567758 × 10^18^ cm (which is of course equivalent to multiplying by nscale and lscale as stated above).
    2424
    25 Also, as an aside, when the scales are all set to 1 in the code, this makes all computational units = cgs. Since nscale is rhoscale/X, this means that nscale is essentially Avogadro's number (over the mean molecular weight). Other scales in the code behave nicer than in nscale in that they are interrelated directly.
     25Also, as an aside, when the scales are all set to 1 in the code, all computational units = cgs. Using scales that DNE 1 is equivalent to scaling the computational quantities away from cgs. When all of the scales = 1,  nscale = rhoscale/X  means that nscale is essentially Avogadro's number (over the mean molecular weight). Also, other scales in the code behave nicer than nscale in that they are interrelated directly.