Skip to content

Commit

Permalink
rename master to main in all docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zonca committed Jun 30, 2021
1 parent 9fc77cd commit 65a2aea
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/customize_components.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"source": [
"## Use a configuration file\n",
"\n",
"The PySM models are implemented as classes and are then configured with input parameters in [`presets.cfg`](https://github.com/healpy/pysm3/blob/master/pysm3/data/presets.cfg), the same facilities used to load that configuration file and create the component object can be leverage by creating our own `cfg` file, for example here we are using a scalar value for `map_mbb_index` instead of using the template map provided in the `d1` model.\n",
"The PySM models are implemented as classes and are then configured with input parameters in [`presets.cfg`](https://github.com/healpy/pysm3/blob/main/pysm3/data/presets.cfg), the same facilities used to load that configuration file and create the component object can be leverage by creating our own `cfg` file, for example here we are using a scalar value for `map_mbb_index` instead of using the template map provided in the `d1` model.\n",
"But we could as well replace the maps with our own custom maps.\n",
"\n",
"The `%%file` magic creates a file with the content of the cell"
Expand Down Expand Up @@ -398,7 +398,7 @@
"source": [
"For performance better use `numba` to make use of all cores on the machine and execute at compiled code speed, for example:\n",
"\n",
"<https://github.com/healpy/pysm/blob/master/pysm3/models/power_law.py>"
"<https://github.com/healpy/pysm/blob/main/pysm3/models/power_law.py>"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Execute the unit tests with::
Tutorials
=========

All the tutorials are Jupyter Notebooks and can be accessed `from the repository <https://github.com/healpy/pysm/tree/master/docs>`_:
All the tutorials are Jupyter Notebooks and can be accessed `from the repository <https://github.com/healpy/pysm/tree/main/docs>`_:

.. toctree::
:maxdepth: 2
Expand Down
4 changes: 2 additions & 2 deletions docs/model_data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Details of a model are defined in `presets.cfg` at https://github.com/healpy/pysm3/blob/master/pysm3/data/presets.cfg, for example:\n",
"Details of a model are defined in `presets.cfg` at https://github.com/healpy/pysm3/blob/main/pysm3/data/presets.cfg, for example:\n",
"\n",
"```\n",
"[d1]\n",
Expand All @@ -125,7 +125,7 @@
"freq_ref_P = \"353 GHz\"\n",
"```\n",
"\n",
"The filenames refer to another Github repository: https://github.com/healpy/pysm3-data/tree/master/pysm3_2\n",
"The filenames refer to another Github repository: https://github.com/healpy/pysm3-data/tree/master/pysm_2\n",
"\n",
"pysm3 3 automatically downloads and caches those data using the `astropy.utils.data` facilities. Therefore the first time you use `d1` it downloads all the templates and caches them in your home folder, next will load from there.\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion docs/models.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Summary of Models
*****************

For all details of the models also check the `presets.cfg file <https://github.com/healpy/pysm/blob/master/pysm3/data/presets.cfg>`_.
For all details of the models also check the `presets.cfg file <https://github.com/healpy/pysm/blob/main/pysm3/data/presets.cfg>`_.

Input templates
===============
Expand Down
2 changes: 1 addition & 1 deletion docs/preprocess-templates/reproduce_pysm2_sync_pol.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1734,7 +1734,7 @@
"* the fit for the slope of the spectra at high $\\ell$ gives significantly steeper lines especially for BB, even denoising and considering cosmic variance error in the fit. It is possible that `namaster` gives a slightly different spectrum at low ell, it seems like the spice spectrum for BB has higher values at low $\\ell$ impacting the PySM 2 fit\n",
"* the figure in cell 93, just above here, shows higher power in the $\\ell$ range 60-100 in EE, which should be over the beam cutoff so should just be dominated by the small scales realization\n",
"\n",
"If anyone is interested in investigating this, the source notebook doesn't require any external data and is available [on Github](https://github.com/healpy/pysm/tree/master/docs/template_preprocessing), please [open an issue](https://github.com/healpy/pysm/issues) to report your findings."
"If anyone is interested in investigating this, the source notebook doesn't require any external data and is available [on Github](https://github.com/healpy/pysm/tree/main/docs/template_preprocessing), please [open an issue](https://github.com/healpy/pysm/issues) to report your findings."
]
}
],
Expand Down

0 comments on commit 65a2aea

Please sign in to comment.