pyredshift 1.14__tar.gz → 1.15__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyredshift-1.14 → pyredshift-1.15}/PKG-INFO +1 -1
- {pyredshift-1.14 → pyredshift-1.15}/setup.py +1 -1
- {pyredshift-1.14 → pyredshift-1.15}/src/pyredshift/pyredshift-help.html +2 -1
- {pyredshift-1.14 → pyredshift-1.15}/src/pyredshift/redshift.py +7 -2
- {pyredshift-1.14 → pyredshift-1.15}/src/pyredshift.egg-info/PKG-INFO +1 -1
- {pyredshift-1.14 → pyredshift-1.15}/LICENSE +0 -0
- {pyredshift-1.14 → pyredshift-1.15}/README.md +0 -0
- {pyredshift-1.14 → pyredshift-1.15}/pyproject.toml +0 -0
- {pyredshift-1.14 → pyredshift-1.15}/pyredshift +0 -0
- {pyredshift-1.14 → pyredshift-1.15}/setup.cfg +0 -0
- {pyredshift-1.14 → pyredshift-1.15}/src/pyredshift/__init__.py +0 -0
- {pyredshift-1.14 → pyredshift-1.15}/src/pyredshift/pyredshift.lines +0 -0
- {pyredshift-1.14 → pyredshift-1.15}/src/pyredshift.egg-info/SOURCES.txt +0 -0
- {pyredshift-1.14 → pyredshift-1.15}/src/pyredshift.egg-info/dependency_links.txt +0 -0
- {pyredshift-1.14 → pyredshift-1.15}/src/pyredshift.egg-info/requires.txt +0 -0
- {pyredshift-1.14 → pyredshift-1.15}/src/pyredshift.egg-info/top_level.txt +0 -0
|
@@ -13,7 +13,7 @@ from setuptools import setup
|
|
|
13
13
|
|
|
14
14
|
setup(
|
|
15
15
|
name="pyredshift",
|
|
16
|
-
version="1.
|
|
16
|
+
version="1.15",
|
|
17
17
|
description="Interactive redshifting of 1D astronomical spectra "
|
|
18
18
|
"(Python successor of pdlredshift / redshift.f)",
|
|
19
19
|
long_description=open("README.md").read(),
|
|
@@ -8,7 +8,8 @@ ported with Claude, 2026) — same keys, same beautiful crosshair,
|
|
|
8
8
|
faster carriage.</p>
|
|
9
9
|
|
|
10
10
|
<p class="lineage">Karl Glazebrook, Swinburne University of Technology.
|
|
11
|
-
MIT license
|
|
11
|
+
MIT license.
|
|
12
|
+
<a href="https://github.com/karlglazebrook/pyredshift">github.com/karlglazebrook/pyredshift</a></p>
|
|
12
13
|
|
|
13
14
|
<input type="radio" name="tabs" id="tab-keys" checked>
|
|
14
15
|
<input type="radio" name="tabs" id="tab-lines">
|
|
@@ -66,6 +66,8 @@ V1.14 - Saving works properly: the toolbar save button no longer
|
|
|
66
66
|
choosing it, so a python without Qt falls back to MacOSX
|
|
67
67
|
instead of crashing at the first figure.
|
|
68
68
|
- Lineage/credits at the top of the help page.
|
|
69
|
+
V1.15 - Help-page credits link to the GitHub repo; lineage text in a
|
|
70
|
+
readable muted grey in both themes.
|
|
69
71
|
"""
|
|
70
72
|
|
|
71
73
|
import ctypes
|
|
@@ -111,7 +113,7 @@ try:
|
|
|
111
113
|
except AttributeError:
|
|
112
114
|
pass
|
|
113
115
|
|
|
114
|
-
__version__ = "1.
|
|
116
|
+
__version__ = "1.15"
|
|
115
117
|
|
|
116
118
|
C_LIGHT = 2.99792458e8 # m/s
|
|
117
119
|
|
|
@@ -1015,7 +1017,8 @@ body { font-family: -apple-system, "Helvetica Neue", sans-serif;
|
|
|
1015
1017
|
color: %(fg)s; background: %(bg)s; line-height: 1.45; }
|
|
1016
1018
|
h1 { font-size: 1.5em; border-bottom: 2px solid %(rule)s; padding-bottom: 0.2em; }
|
|
1017
1019
|
h1 .ver { font-size: 0.6em; font-weight: normal; color: %(accent)s; }
|
|
1018
|
-
p.lineage { font-size: 0.85em; color: %(
|
|
1020
|
+
p.lineage { font-size: 0.85em; color: %(muted)s; margin-top: -0.3em; }
|
|
1021
|
+
a { color: %(accent)s; }
|
|
1019
1022
|
h2 { font-size: 1.15em; color: %(accent)s; margin-top: 1.4em; }
|
|
1020
1023
|
table { border-collapse: collapse; margin: 0.5em 0; }
|
|
1021
1024
|
th, td { border: 1px solid %(rule)s; padding: 0.25em 0.7em; text-align: left; }
|
|
@@ -1051,8 +1054,10 @@ def show_help_browser(body):
|
|
|
1051
1054
|
return False
|
|
1052
1055
|
import webbrowser
|
|
1053
1056
|
colours = ({"fg": "#ddd", "bg": "#111", "rule": "#555",
|
|
1057
|
+
"muted": "#aaa",
|
|
1054
1058
|
"accent": "#f66", "thbg": "#222"} if dark_mode else
|
|
1055
1059
|
{"fg": "#111", "bg": "#fff", "rule": "#bbb",
|
|
1060
|
+
"muted": "#555",
|
|
1056
1061
|
"accent": "crimson", "thbg": "#f0f0f0"})
|
|
1057
1062
|
html = ("<!DOCTYPE html><html><head><meta charset='utf-8'>"
|
|
1058
1063
|
"<title>pyredshift help</title><style>%s</style></head>"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|