Skip to content
This repository was archived by the owner on Mar 19, 2025. It is now read-only.

Commit 3b9ce27

Browse files
authored
Merge pull request #140 from pllim/mosaicauto-im-click
Improve MosaicAuto logic and selection
2 parents 675cd1c + 6a843d5 commit 3b9ce27

File tree

4 files changed

+259
-60
lines changed

4 files changed

+259
-60
lines changed
Loading

docs/stginga/plugins_manual/mosaicauto.rst

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,14 @@ replacement. Currently, such a mosaic can only be created once per Ginga
1818
session.
1919

2020
Once the mosaic is successfully created, user can select the desired
21-
image name(s) to highlight associated footprint(s) on the mosaic. User can also
22-
save an image list of the selected image(s). Optionally, the mosaic itself can
23-
be saved using :ref:`ginga:sec-plugins-global-saveimage`.
21+
image name(s) to highlight associated footprint(s) on the mosaic.
22+
Alternately, user can also click directly on the displayed mosaic to
23+
highlight a footprint; Clicking on a highlighted footprint again will
24+
un-highlight it.
25+
26+
A shortlist of only the selected image names are displayed under the "Selected"
27+
tab. This list can be saved to a file by clicking "Save Selection" button.
28+
Optionally, the mosaic itself can be saved using
29+
:ref:`ginga:sec-plugins-global-saveimage`.
2430

2531
.. automodule:: stginga.plugins.MosaicAuto

stginga/examples/configs/plugin_Mosaic.cfg

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Place this in file under ~/.ginga with the name "plugin_Mosaic.cfg"
55

66
# default FOV for new mosaics
7-
fov_deg = 0.1
7+
fov_deg = 0.0003
88

99
# Try to match backgrounds
1010
match_bg = True
@@ -13,6 +13,9 @@ match_bg = True
1313
# NOTE: This depends on how many cores your machine has!
1414
num_threads = 12
1515

16+
# When expanding an image, pad on a side by this many deg
17+
expand_pad_deg = 0.0
18+
1619
# Maximum delta from center of image (in deg) beyond which new images
1720
# are assumed to start a new mosaic. Set to None if you never want this
1821
# behavior

0 commit comments

Comments
 (0)