156 | | Click the ''Add'' button at the top of the ''Physics Module''. After doing this, you will be prompted to add a certain type of species. There are many options ({{{Quick, Custom, Atomic, Molecule, Dust, Scale, Multiple, Plasma, Black Body}}}), however here we will choose ''Custom.'' |
| 156 | 1. Click the ''Add'' button at the top of the ''Physics Module''. |
| 157 | 2. After doing this, you will be prompted to add a certain type of species. There are many options ({{{Quick, Custom, Atomic, Molecule, Dust, Scale, Multiple, Plasma, Black Body}}}), however here we will choose ''Custom.'' |
166 | | Now that you have created a new ''Custom'' species we need to edit it. Here the ''Name'' of the species has been changed to "Line." However one may choose whatever name they prefer. The same name is used in the youtube tutorial provided above. Note that once you choose a ''Custom'' species, the main view in the ''Physics Module'' may still be that of the ''Default''. Simply switch from ''Default'' to ''Custom'' in the left-hand ''Species'' list by clicking the ''Custom'' option you have made. |
167 | | |
168 | | In this tutorial we will simply keep the default options illustrated in '''Image 11.''' Here the ''Emission'' contribution is sufficient. Now we go on to edit the ''Emission Coefficient,'' which is indicated in '''Image 11'''. Click the ''Edit'' button. Also note that if you scroll down the main options page in Shape for your new ''Custom'' species, you'll see that we have {{{n}}}, or ''Density'', as our variable mapping. |
| 167 | Now that you have created a new ''Custom'' species we need to edit it. |
| 168 | |
| 169 | 4. Here the ''Name'' of the species has been changed to "Line." However one may choose whatever name they prefer. The same name is used in the youtube tutorial provided above. |
| 170 | 5. Note that once you choose a ''Custom'' species, the main view in the ''Physics Module'' may still be that of the ''Default''. Simply switch from ''Default'' to ''Custom'' in the left-hand ''Species'' list by clicking the ''Custom'' option you have made. |
| 171 | |
| 172 | In this tutorial we will simply keep the default options illustrated in '''Image 11.''' Here the ''Emission'' contribution is sufficient. Now we go on to edit the ''Emission Coefficient,'' which is indicated in '''Image 11'''. |
| 173 | |
| 174 | 6. Click the ''Edit'' button. |
| 175 | 7. Also note that if you scroll down the main options page in Shape for your new ''Custom'' species, you'll see that we have {{{n}}}, or ''Density'', as our variable mapping. |
| 176 | 8. Recall that our format string for our imported data is in terms of the columns with headers {{{px,py,pz,vx,vy,vz,n}}}. |
179 | | We do not want to use this analytic function. So as illustrated in '''Image 12''', click the ''Templates'' option and choose ''Gaussian''. There are the options of ({{{Planck (m), Gaussian, Lorentzian, Wein}}}). After clicking ''Apply'', you will notice that the analytic function, shown under ''Functions'' has changed to: |
| 187 | We do not want to use this analytic function. |
| 188 | |
| 189 | 9. So as illustrated in '''Image 12''', click the ''Templates'' option and choose ''Gaussian''. There are the options of ({{{Planck (m), Gaussian, Lorentzian, Wein}}}). |
| 190 | 10. After clicking ''Apply'', you will notice that the analytic function, shown under ''Functions'' has changed to: |
184 | | Notice that this equation does not involve our variable mapping term, {{{n}}, or Density. As illustrated in '''Image 13''' click back to the ''Function'' property, and delete the coefficient on our Gaussian function, {{{ 1.0/(sqrt(2*pi) * c) }}} and replace it with {{{n}}}. Then hit enter in the white box, so that it shows up under your ''Functions''. |
185 | | |
| 195 | 11. Notice that this equation does not involve our variable mapping term, {{{n}}, otherwise known as density. As illustrated in '''Image 13''' click back to the ''Function'' property, and delete the coefficient on our Gaussian function, {{{ 1.0/(sqrt(2*pi) * c) }}} and replace it with {{{n}}}. |
| 196 | 12. Then hit enter in the white box, so that it shows up under your ''Functions''. |
| 197 | 13. Also note that there are other variables in our Gaussian function, namely, {{{x,c,b}}}. Clearly {{{x}}} is the variable of the function, and not a constant, where as {{{c, b}}} are constants. As illustrated in '''Figure 14''' input the following numbers: |
| 198 | |
| 199 | {{{ |
| 200 | x = 9.8 |
| 201 | c = 5.0E-7 |
| 202 | b = 2.0E-11 |
| 203 | }}} |
| 204 | |
| 205 | Leave {{{n}}} alone. |
| 206 | |
| 207 | 14. When you are done with the ''Emission Coefficient'' dialog, simply click the X-out button at the top of the dialog. |
| 208 | |
| 209 | You are done. Now we can go back to the ''3D Module,'' so proceed to the next section of this tutorial. |