11 | | For my specific data, my lscale is 1 pc, and my nscale is 1 (which just means it is in cgs by default). So the quantity the code gives for 'projected column density in computational units', can be thought of as being in pc/cm^3^. To convert this to 1/cm^2^, multiply by the conversion factor 1pc = 3.08567758 × 10^18^ cm. |
| 11 | but in fact equals, |
| 12 | |
| 13 | [[latex($nscale = rhoscale/X $)]] |
| 14 | |
| 15 | where X is the mean molecular weight. |
| 16 | |
| 17 | Therefore, |
| 18 | |
| 19 | [[latex($n(cu)*l(cu) = \frac{n(cgs)}{nscale}* \frac{l(cgs)}{lscale} \neq \frac{n(cgs)*l(cgs)}{ lscale^{-2}} $)]] |
| 20 | |
| 21 | This means that we can not simply multiply our projected quantity by lscale^-2^ to get units of cm^-2^. Instead, we should multiply it by lscale*nscale. This will give us the correct units for column density, when lscale and nscale are in cgs. |
| 22 | |
| 23 | Note, 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). |