Skip to content

Commit

Permalink
removed all instances of is_secondary
Browse files Browse the repository at this point in the history
  • Loading branch information
Basdorsman committed Dec 6, 2024
1 parent 7dcd565 commit b8060cd
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 33 deletions.
28 changes: 9 additions & 19 deletions docs/source/Hot_region_complexity.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 194,7 @@
" num_leaves=100,\n",
" num_rays=200,\n",
" do_fast=False,\n",
" is_secondary=True,\n",
" is_antiphased=True,\n",
" prefix='s')\n",
"\n",
"from xpsi import HotRegions\n",
Expand Down Expand Up @@ -676,9 676,7 @@
{
"cell_type": "code",
"execution_count": 16,
"metadata": {
"scrolled": false
},
"metadata": {},
"outputs": [
{
"data": {
Expand Down Expand Up @@ -762,9 760,7 @@
{
"cell_type": "code",
"execution_count": 18,
"metadata": {
"scrolled": false
},
"metadata": {},
"outputs": [
{
"data": {
Expand Down Expand Up @@ -939,9 935,7 @@
{
"cell_type": "code",
"execution_count": 22,
"metadata": {
"scrolled": false
},
"metadata": {},
"outputs": [
{
"data": {
Expand Down Expand Up @@ -1017,9 1011,7 @@
{
"cell_type": "code",
"execution_count": 24,
"metadata": {
"scrolled": false
},
"metadata": {},
"outputs": [
{
"data": {
Expand Down Expand Up @@ -1086,9 1078,7 @@
{
"cell_type": "code",
"execution_count": 25,
"metadata": {
"scrolled": false
},
"metadata": {},
"outputs": [
{
"name": "stdout",
Expand Down Expand Up @@ -1197,7 1187,7 @@
" num_leaves=100,\n",
" num_rays=200,\n",
" do_fast=False,\n",
" is_secondary=True,\n",
" is_antiphased=True,\n",
" prefix='s')\n",
"\n",
"from xpsi import HotRegions\n",
Expand Down Expand Up @@ -1685,9 1675,9 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.2"
"version": "3.11.9"
}
},
"nbformat": 4,
"nbformat_minor": 1
"nbformat_minor": 4
}
8 changes: 4 additions & 4 deletions docs/source/Surface_radiation_field_tools.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 835,7 @@
" num_leaves=100,\n",
" num_rays=200,\n",
" do_fast=False,\n",
" is_secondary=True,\n",
" is_antiphased=True,\n",
" atm_ext=\"BB\",#default blackbody, other options: \"Num4D\" or \"user\" \n",
" prefix='s')\n",
"\n",
Expand Down Expand Up @@ -1075,7 1075,7 @@
" num_leaves=100,\n",
" num_rays=200,\n",
" do_fast=False,\n",
" is_secondary=True,\n",
" is_antiphased=True,\n",
" atm_ext=\"Num4D\",#default blackbody, other options: \"Num4D\" or \"user\" \n",
" prefix='s')\n",
"\n",
Expand Down Expand Up @@ -1314,9 1314,9 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.2"
"version": "3.11.9"
}
},
"nbformat": 4,
"nbformat_minor": 1
"nbformat_minor": 4
}
8 changes: 3 additions & 5 deletions docs/source/old/Multiple_imaging.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -816,9 816,7 @@
{
"cell_type": "code",
"execution_count": 28,
"metadata": {
"scrolled": false
},
"metadata": {},
"outputs": [
{
"data": {
Expand Down Expand Up @@ -2221,7 2219,7 @@
" num_leaves=1024,\n",
" num_phases=100,\n",
" num_rays=1024,\n",
" is_secondary=False,\n",
" is_antiphased=False,\n",
" prefix='p')\n",
"\n",
"bounds = dict(super_colatitude = (0.001, math.pi - 0.001),\n",
Expand Down Expand Up @@ -2839,5 2837,5 @@
}
},
"nbformat": 4,
"nbformat_minor": 1
"nbformat_minor": 4
}
2 changes: 1 addition & 1 deletion examples/examples_fast/Modules/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 108,7 @@
max_sqrt_num_cells=64,
num_leaves=64,
num_rays=512,
is_secondary=True,
is_antiphased=True,
image_order_limit=3, # up to tertiary
prefix='hot')

Expand Down
6 changes: 3 additions & 3 deletions examples/examples_fast/Sampling.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 453,7 @@
" max_sqrt_num_cells=64,\n",
" num_leaves=64,\n",
" num_rays=512,\n",
" is_secondary=True,\n",
" is_antiphased=True,\n",
" image_order_limit=3, # up to tertiary\n",
" prefix='hot')\n"
]
Expand Down Expand Up @@ -838,9 838,9 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.6"
"version": "3.11.9"
}
},
"nbformat": 4,
"nbformat_minor": 2
"nbformat_minor": 4
}
2 changes: 1 addition & 1 deletion xpsi/Parameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 96,7 @@ def __call__(self, boundto, caller = None):
num_leaves=100,
num_rays=200,
do_fast=False,
is_secondary=True,
is_antiphased=True,
prefix='s')
from xpsi import HotRegions
Expand Down

0 comments on commit b8060cd

Please sign in to comment.