|
46 | 46 | "source": [ |
47 | 47 | "# create the RAT parameters and layers from this model\n", |
48 | 48 | "sample = RATapi.utils.orso.orso_model_to_rat(\"air | Ni 100 | SiO2 0.5 | Si\")\n", |
49 | | - "print(\"Bulk in:\\n\", sample.bulk_in, \"\\nBulk out:\\n\", sample.bulk_out)\n", |
50 | | - "print(\"Parameters:\\n\", sample.parameters)\n", |
51 | | - "print(\"Layers:\\n\", sample.layers)" |
| 49 | + "print(\"Bulk in:\\n\", sample.bulk_in, \"\\nBulk out:\\n\", sample.bulk_out, sep=\"\")\n", |
| 50 | + "print(\"Parameters:\\n\", sample.parameters, sep=\"\")\n", |
| 51 | + "print(\"Layers:\\n\", sample.layers, sep=\"\")" |
52 | 52 | ] |
53 | 53 | }, |
54 | 54 | { |
|
65 | 65 | "outputs": [], |
66 | 66 | "source": [ |
67 | 67 | "sample = RATapi.utils.orso.orso_model_to_rat(\"vacuum | B4C 100 | SiO2 0.5 | Si\", absorption=True)\n", |
68 | | - "print(\"Parameters:\\n\", sample.parameters)\n", |
69 | | - "print(\"Layers:\\n\", sample.layers)" |
| 68 | + "print(\"Parameters:\\n\", sample.parameters, sep=\"\")\n", |
| 69 | + "print(\"Layers:\\n\", sample.layers, sep=\"\")" |
70 | 70 | ] |
71 | 71 | }, |
72 | 72 | { |
|
85 | 85 | "outputs": [], |
86 | 86 | "source": [ |
87 | 87 | "sample = RATapi.utils.orso.orso_model_to_rat(\"air | 5 ( Si 7 | Fe 7 ) | Si\")\n", |
88 | | - "print(\"Parameters:\\n\", sample.parameters)\n", |
89 | | - "print(\"Layers:\\n\", sample.layers)\n", |
90 | | - "print(\"Model:\\n\", sample.model)" |
| 88 | + "print(\"Parameters:\\n\", sample.parameters, sep=\"\")\n", |
| 89 | + "print(\"Layers:\\n\", sample.layers, sep=\"\")\n", |
| 90 | + "print(\"Model:\\n\", sample.model, sep=\"\")" |
91 | 91 | ] |
92 | 92 | }, |
93 | 93 | { |
|
108 | 108 | }, |
109 | 109 | { |
110 | 110 | "cell_type": "code", |
111 | | - "execution_count": 5, |
| 111 | + "execution_count": 7, |
112 | 112 | "metadata": {}, |
113 | 113 | "outputs": [], |
114 | 114 | "source": [ |
|
0 commit comments