Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrades to Petrosian and Petrosian Corrections [v0.5.0 Core] #169

Merged
merged 25 commits into from
Aug 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ nosetests.xml
coverage.xml
*.cover
.hypothesis/
*test_output_dir*

# Translations
*.mo
Expand Down
5 changes: 4 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ version: 2

conda:
environment: environment.yml


sphinx:
builder: html
configuration: docs/conf.py # This should point to your conf.py

python:
version: 3.8
Expand Down
2 changes: 1 addition & 1 deletion CITATION.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Publications
|AJ tag| |zonodo tag| |ascl tag|

If you would like to cite PetroFit for a publication, please use the acknowledgments below.
Given the intimate relationship between PetroFit and Photutils, we ask that you also cite
Given the close relationship between PetroFit and Photutils, we ask that you also cite
Photutils:

.. code-block:: text
Expand Down
7 changes: 5 additions & 2 deletions docs/_static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@

.rst-content pre.literal-block, .rst-content div[class^='highlight'] pre, .rst-content .linenodiv pre {
/*color of code blocks*/
background-color: #f8f8f8
background-color: #ffffff;
}

.rst-content code.literal, .rst-content tt.literal {
color: #414042;
}

h1, h2, .rst-content .toctree-wrapper p.caption, h3, h4, h5, h6, legend {
Expand All @@ -57,4 +61,3 @@ h1, h2, .rst-content .toctree-wrapper p.caption, h3, h4, h5, h6, legend {
/*color of nav at top when the window is narrow*/
background: linear-gradient(90deg, #00B0F0 0%, #8D00ED 100%);
}

8 changes: 1 addition & 7 deletions docs/api_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@
API
===

.. automodapi:: petrofit.correction
:no-inheritance-diagram:

.. automodapi:: petrofit.modeling.fitting
:no-inheritance-diagram:

.. automodapi:: petrofit.modeling.models
.. automodapi:: petrofit.modeling
:no-inheritance-diagram:
:skip: Nuker2D
:skip: sersic_enclosed_model
Expand Down
50 changes: 1 addition & 49 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
# -- Project information ------------------------------------------------------

# This does not *have* to match the package name, but typically does
project = "PetroFit" #setup_cfg['name']
project = "PetroFit"
author = setup_cfg['author']
copyright = '{0}, {1}'.format(
datetime.datetime.now().year, setup_cfg['author'])
Expand Down Expand Up @@ -124,28 +124,6 @@
html_static_path = ['_static']
html_css_files = ["css/custom.css"]

# 'logotext1': 'petrofit', # white, semi-bold
# 'logotext2': '', # orange, light
# 'logotext3': ':docs' # white, light
# }


# Custom sidebar templates, maps document names to template names.
#html_sidebars = {}

# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
#html_logo = ''

# The name of an image file (within the static path) to use as favicon of the
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
# pixels large.
#html_favicon = ''

# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
#html_last_updated_fmt = ''

# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
html_title = '{0} v{1}'.format(project, release)
Expand Down Expand Up @@ -196,29 +174,3 @@
]
linkcheck_timeout = 180
linkcheck_anchors = False

# -- Turn on nitpicky mode for sphinx (to warn about references not found) ----
#
# nitpicky = True
# nitpick_ignore = []
#
# Some warnings are impossible to suppress, and you can list specific references
# that should be ignored in a nitpick-exceptions file which should be inside
# the docs/ directory. The format of the file should be:
#
# <type> <class>
#
# for example:
#
# py:class astropy.io.votable.tree.Element
# py:class astropy.io.votable.tree.SimpleElement
# py:class astropy.io.votable.tree.SimpleElementWithContent
#
# Uncomment the following lines to enable the exceptions:
#
# for line in open('nitpick-exceptions'):
# if line.strip() == "" or line.startswith("#"):
# continue
# dtype, target = line.split(None, 1)
# target = target.strip()
# nitpick_ignore.append((dtype, six.u(target)))
Loading