Skip to content

Commit 3d251ae

Browse files
author
Sophie Reed
committed
Tidy up formatting
1 parent e12104d commit 3d251ae

File tree

7 files changed

+34
-41
lines changed

7 files changed

+34
-41
lines changed

doc/lsst.analysis.tools/action-types.rst

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Action Types
33
============
44

5-
Here is a list of the current actions implemented in ``analysis tools``, please look at these carefully before
5+
Here is a list of the current actions implemented in ``analysis_tools``, please look at these carefully before
66
adding new actions to avoid duplication.
77

88
Plot actions are covered in a separate :doc:`section <plot-types>`.
@@ -12,21 +12,9 @@ Vector Actions
1212

1313
.. automodapi:: lsst.analysis.tools.actions.vector
1414
:no-inherited-members:
15-
:skip: ConfigurableActionField
16-
:skip: ConfigurableActionStructField
17-
:skip: DictField
18-
:skip: Field
19-
:skip: Vector
20-
:skip: VectorAction
2115

2216
Scalar Actions
2317
==============
2418

2519
.. automodapi:: lsst.analysis.tools.actions.scalar
2620
:no-inherited-members:
27-
:skip: ChoiceField
28-
:skip: Field
29-
:skip: Scalar
30-
:skip: ScalarAction
31-
:skip: Vector
32-

doc/lsst.analysis.tools/index.rst

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,19 @@ It is a very powerful way to explore and interact with the pipeline outputs.
1515
1616
Using lsst.analysis.tools
1717
=========================
18+
1819
For a tutorial on working with
1920
``analysis_tools`` please see the :ref:`getting started guide <analysis-tools-getting-started>`.
2021

2122
.. toctree linking to topics related to using the module's APIs.
2223
23-
.. .. toctree::
24-
.. :glob:
25-
.. currentActions
26-
.. currentPlots
24+
.. toctree::
25+
:glob:
26+
:maxdepth: 1
27+
28+
getting-started
29+
action-types
30+
plot-types
2731

2832
Need Help?
2933
==========
@@ -37,7 +41,6 @@ channel on slack and hopefully someone will help you!
3741
Contributing
3842
============
3943

40-
4144
``lsst.analysis.tools`` is developed at https://github.com/lsst/analysis_tools.
4245
You can find Jira issues for this module under the `analysis_tools <https://jira.lsstcorp.org/issues/?jql=project%20%3D%20DM%20AND%20component%20%3D%20analysis_tools>`_ component.
4346

doc/lsst.analysis.tools/plot-types.rst

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1+
##########
12
Plot Types
2-
==========
3-
Details of current plot types are here, these plots are all in ``python/lsst/analysis/tools/actions/plot`` and
4-
can all be found on `github <https://github.com/lsst/analysis_tools/blob/main/python/lsst/analysis/tools/actions/plot/>`__.
3+
##########
4+
5+
This page lists the plot types provided by ``analysis_tools``.
6+
The modules for these plots are all in ``python/lsst/analysis/tools/actions/plot`` and
7+
can all be found on `GitHub <https://github.com/lsst/analysis_tools/blob/main/python/lsst/analysis/tools/actions/plot/>`__.
58

69

710
.. automodapi:: lsst.analysis.tools.actions.plot
811
:no-inherited-members:
12+
:noindex:
913
:skip: BarPanel
1014
:skip: DiaSkyPanel
1115
:skip: HistPanel

python/lsst/analysis/tools/actions/plot/barPlots.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -93,21 +93,21 @@ def makePlot(
9393
An optional dictionary of information about the data being
9494
plotted with keys:
9595
`"run"`
96-
Output run for the plots (`str`).
96+
Output run for the plots (`str`).
9797
`"tractTableType"`
98-
Table from which results are taken (`str`).
98+
Table from which results are taken (`str`).
9999
`"plotName"`
100-
Output plot name (`str`)
100+
Output plot name (`str`)
101101
`"SN"`
102-
The global signal-to-noise data threshold (`float`)
102+
The global signal-to-noise data threshold (`float`)
103103
`"skymap"`
104-
The type of skymap used for the data (`str`).
104+
The type of skymap used for the data (`str`).
105105
`"tract"`
106-
The tract that the data comes from (`int`).
106+
The tract that the data comes from (`int`).
107107
`"bands"`
108-
The bands used for this data (`str` or `list`).
108+
The bands used for this data (`str` or `list`).
109109
`"visit"`
110-
The visit that the data comes from (`int`)
110+
The visit that the data comes from (`int`)
111111
112112
Returns
113113
-------

python/lsst/analysis/tools/actions/plot/histPlot.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,17 @@ class HistStatsPanel(Config):
5757
customize the HistPlot stats panel.
5858
5959
- The ListField parameter a dict to specify names of 3 stat columns accepts
60-
latex formating
60+
latex formating
6161
6262
- The other parameters (stat1, stat2, stat3) are lists of strings that
63-
specify vector keys correspoinding to scalar values computed in the
64-
prep/process/produce steps of an analysis tools plot/metric configurable
65-
action. There should be one key for each group in the HistPanel.
63+
specify vector keys correspoinding to scalar values computed in the
64+
prep/process/produce steps of an analysis tools plot/metric configurable
65+
action. There should be one key for each group in the HistPanel.
6666
6767
A separate config class is used instead of constructing
6868
`~lsst.pex.config.DictField`'s in HistPanel for each parameter for clarity
6969
and consistency.
7070
71-
72-
7371
Notes
7472
-----
7573
This is intended to be used as a configuration of the HistPlot/HistPanel

python/lsst/analysis/tools/actions/plot/multiVisitCoveragePlot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,9 +253,9 @@ def makePlot(
253253
A dictionary of information about the data being plotted with (at
254254
least) keys:
255255
`"run"`
256-
Output run for the plots (`str`).
256+
Output run for the plots (`str`).
257257
`"tableName"`
258-
Name of the table from which results are taken (`str`).
258+
Name of the table from which results are taken (`str`).
259259
camera : `lsst.afw.cameraGeom.Camera`, optional
260260
The camera object associated with the data. This is to enable the
261261
conversion of to focal plane coordinates (if needed, i.e. for the

python/lsst/analysis/tools/actions/plot/skyPlot.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,13 +151,13 @@ def makePlot(
151151
plotInfo : `dict`
152152
A dictionary of information about the data being plotted with keys:
153153
``"run"``
154-
The output run for the plots (`str`).
154+
The output run for the plots (`str`).
155155
``"skymap"``
156-
The type of skymap used for the data (`str`).
156+
The type of skymap used for the data (`str`).
157157
``"filter"``
158-
The filter used for this data (`str`).
158+
The filter used for this data (`str`).
159159
``"tract"``
160-
The tract that the data comes from (`str`).
160+
The tract that the data comes from (`str`).
161161
sumStats : `dict`
162162
A dictionary where the patchIds are the keys which store the R.A.
163163
and dec of the corners of the patch.

0 commit comments

Comments
 (0)