setiastrosuitepro 1.6.12__py3-none-any.whl → 1.7.1.post2__py3-none-any.whl

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.
Files changed (42) hide show
  1. setiastro/images/TextureClarity.svg +56 -0
  2. setiastro/images/narrowbandnormalization.png +0 -0
  3. setiastro/images/planetarystacker.png +0 -0
  4. setiastro/saspro/_generated/build_info.py +2 -2
  5. setiastro/saspro/aberration_ai.py +128 -13
  6. setiastro/saspro/aberration_ai_preset.py +29 -3
  7. setiastro/saspro/astrospike_python.py +45 -3
  8. setiastro/saspro/blink_comparator_pro.py +116 -71
  9. setiastro/saspro/curve_editor_pro.py +72 -22
  10. setiastro/saspro/curves_preset.py +249 -47
  11. setiastro/saspro/gui/main_window.py +285 -44
  12. setiastro/saspro/gui/mixins/file_mixin.py +35 -16
  13. setiastro/saspro/gui/mixins/menu_mixin.py +8 -0
  14. setiastro/saspro/gui/mixins/toolbar_mixin.py +115 -6
  15. setiastro/saspro/histogram.py +179 -7
  16. setiastro/saspro/imageops/narrowband_normalization.py +816 -0
  17. setiastro/saspro/imageops/serloader.py +1345 -0
  18. setiastro/saspro/legacy/numba_utils.py +1 -1
  19. setiastro/saspro/live_stacking.py +24 -4
  20. setiastro/saspro/multiscale_decomp.py +30 -17
  21. setiastro/saspro/narrowband_normalization.py +1618 -0
  22. setiastro/saspro/remove_green.py +1 -1
  23. setiastro/saspro/resources.py +6 -0
  24. setiastro/saspro/rgbalign.py +456 -12
  25. setiastro/saspro/ser_stack_config.py +82 -0
  26. setiastro/saspro/ser_stacker.py +2321 -0
  27. setiastro/saspro/ser_stacker_dialog.py +1838 -0
  28. setiastro/saspro/ser_tracking.py +206 -0
  29. setiastro/saspro/serviewer.py +1625 -0
  30. setiastro/saspro/sfcc.py +298 -64
  31. setiastro/saspro/shortcuts.py +14 -7
  32. setiastro/saspro/stacking_suite.py +21 -6
  33. setiastro/saspro/stat_stretch.py +179 -31
  34. setiastro/saspro/subwindow.py +2 -4
  35. setiastro/saspro/texture_clarity.py +593 -0
  36. setiastro/saspro/widgets/resource_monitor.py +122 -74
  37. {setiastrosuitepro-1.6.12.dist-info → setiastrosuitepro-1.7.1.post2.dist-info}/METADATA +3 -2
  38. {setiastrosuitepro-1.6.12.dist-info → setiastrosuitepro-1.7.1.post2.dist-info}/RECORD +42 -30
  39. {setiastrosuitepro-1.6.12.dist-info → setiastrosuitepro-1.7.1.post2.dist-info}/WHEEL +0 -0
  40. {setiastrosuitepro-1.6.12.dist-info → setiastrosuitepro-1.7.1.post2.dist-info}/entry_points.txt +0 -0
  41. {setiastrosuitepro-1.6.12.dist-info → setiastrosuitepro-1.7.1.post2.dist-info}/licenses/LICENSE +0 -0
  42. {setiastrosuitepro-1.6.12.dist-info → setiastrosuitepro-1.7.1.post2.dist-info}/licenses/license.txt +0 -0
@@ -129,7 +129,7 @@ from PyQt6.QtGui import (QPixmap, QColor, QIcon, QKeySequence, QShortcut,
129
129
 
130
130
  # ----- QtCore -----
131
131
  from PyQt6.QtCore import (Qt, pyqtSignal, QCoreApplication, QTimer, QSize, QSignalBlocker, QModelIndex, QThread, QUrl, QSettings, QEvent, QByteArray, QObject,
132
- QPropertyAnimation, QEasingCurve, QElapsedTimer
132
+ QPropertyAnimation, QEasingCurve, QElapsedTimer, QPoint
133
133
  )
134
134
 
135
135
  from PyQt6.QtNetwork import QNetworkAccessManager, QNetworkRequest, QNetworkReply
@@ -193,9 +193,9 @@ from setiastro.saspro.resources import (
193
193
  nbtorgb_path, freqsep_path, contsub_path, halo_path, cosmic_path,
194
194
  satellite_path, imagecombine_path, wrench_path, eye_icon_path,multiscale_decomp_path,
195
195
  disk_icon_path, nuke_path, hubble_path, collage_path, annotated_path,
196
- colorwheel_path, font_path, csv_icon_path, spinner_path, wims_path,
196
+ colorwheel_path, font_path, csv_icon_path, spinner_path, wims_path, narrowbandnormalization_path,
197
197
  wimi_path, linearfit_path, debayer_path, aberration_path, acv_icon_path,
198
- functionbundles_path, viewbundles_path, selectivecolor_path, rgbalign_path,
198
+ functionbundles_path, viewbundles_path, selectivecolor_path, rgbalign_path, planetarystacker_path,
199
199
  background_path, script_icon_path
200
200
  )
201
201
 
@@ -604,7 +604,10 @@ class AstroSuiteProMainWindow(
604
604
  self.docman.documentAdded.connect(self._on_document_added)
605
605
  self.mdi.viewStateDropped.connect(self._on_mdi_viewstate_drop)
606
606
  self.mdi.linkViewDropped.connect(self._on_linkview_drop)
607
-
607
+ self._mdi_open_batch = 0
608
+ self._mdi_place_mode = "cascade" # or "tile"
609
+ self._mdi_next_pos = None # QPoint in MDI coords
610
+ self._mdi_cascade_step = 28
608
611
  self.doc_manager.set_mdi_area(self.mdi)
609
612
  # Coalesce undo/redo label refreshes
610
613
  self._undo_redo_refresh_pending = False
@@ -3905,6 +3908,19 @@ class AstroSuiteProMainWindow(
3905
3908
 
3906
3909
  dlg.show()
3907
3910
 
3911
+ def _open_narrowband_normalization_tool(self):
3912
+ # Correct module import
3913
+ from setiastro.saspro.narrowband_normalization import NarrowbandNormalization
3914
+
3915
+ w = NarrowbandNormalization(doc_manager=self.docman, parent=self)
3916
+ w.setAttribute(Qt.WidgetAttribute.WA_DeleteOnClose, True)
3917
+ w.setWindowTitle("Narrowband Normalization")
3918
+ try:
3919
+ w.setWindowIcon(QIcon(narrowbandnormalization_path))
3920
+ except Exception:
3921
+ pass
3922
+ w.show()
3923
+
3908
3924
  def _open_ppp_tool(self):
3909
3925
  from setiastro.saspro.perfect_palette_picker import PerfectPalettePicker
3910
3926
  w = PerfectPalettePicker(doc_manager=self.docman) # parent gives access to _spawn_subwindow_for
@@ -4256,6 +4272,14 @@ class AstroSuiteProMainWindow(
4256
4272
  dlg.setWindowIcon(QIcon(livestacking_path))
4257
4273
  dlg.show()
4258
4274
 
4275
+ def _open_planetary_stacker(self):
4276
+ # import locally to avoid startup cost / circular imports
4277
+ from setiastro.saspro.serviewer import SERViewer
4278
+ dlg = SERViewer(self)
4279
+ dlg.setWindowFlag(Qt.WindowType.Window, True)
4280
+ dlg.setWindowIcon(QIcon(planetarystacker_path))
4281
+ dlg.show()
4282
+
4259
4283
  def _open_stacking_suite(self):
4260
4284
  # Reuse if we already have one
4261
4285
  dlg = getattr(self, "_stacking_suite", None)
@@ -4299,6 +4323,202 @@ class AstroSuiteProMainWindow(
4299
4323
  except Exception:
4300
4324
  pass
4301
4325
 
4326
+ def _convert_mono_to_rgb_active(self):
4327
+ """
4328
+ Convert active mono document to RGB by duplicating the channel.
4329
+ Updates the active document in-place (undoable).
4330
+ """
4331
+ dm = getattr(self, "docman", None)
4332
+ if dm is None:
4333
+ return
4334
+
4335
+ try:
4336
+ doc = dm.get_active_document()
4337
+ except Exception:
4338
+ doc = None
4339
+ if doc is None:
4340
+ return
4341
+
4342
+ img = getattr(doc, "image", None)
4343
+ if img is None:
4344
+ return
4345
+
4346
+ import numpy as np
4347
+
4348
+ x = np.asarray(img)
4349
+
4350
+ # Already RGB?
4351
+ if x.ndim == 3 and x.shape[-1] == 3:
4352
+ try:
4353
+ name = getattr(doc, "display_name", lambda: None)() or getattr(doc, "name", "") or "Active"
4354
+ except Exception:
4355
+ name = "Active"
4356
+ if hasattr(self, "_log"):
4357
+ self._log(f"Mono → RGB: '{name}' is already RGB (shape={getattr(x,'shape',None)}).")
4358
+ return
4359
+
4360
+ # Determine what we're converting FROM
4361
+ src_desc = "unknown"
4362
+ if x.ndim == 2:
4363
+ mono = x
4364
+ src_desc = "mono (H×W)"
4365
+ elif x.ndim == 3 and x.shape[-1] == 1:
4366
+ mono = x[..., 0]
4367
+ src_desc = "mono (H×W×1)"
4368
+ else:
4369
+ # Unknown format (e.g., multi-channel >3)
4370
+ try:
4371
+ name = getattr(doc, "display_name", lambda: None)() or getattr(doc, "name", "") or "Active"
4372
+ except Exception:
4373
+ name = "Active"
4374
+ if hasattr(self, "_log"):
4375
+ self._log(f"Mono → RGB: '{name}' not convertible (shape={getattr(x,'shape',None)}).")
4376
+ return
4377
+
4378
+ before_shape = getattr(x, "shape", None)
4379
+ before_dtype = getattr(x, "dtype", None)
4380
+
4381
+ mono = mono.astype(np.float32, copy=False)
4382
+ rgb = np.stack([mono, mono, mono], axis=-1)
4383
+
4384
+ # metadata: preserve existing, but force "not mono"
4385
+ try:
4386
+ md = dict(getattr(doc, "metadata", None) or {})
4387
+ except Exception:
4388
+ md = {}
4389
+
4390
+ md["is_mono"] = False
4391
+ md["color_model"] = "RGB"
4392
+ md["channels"] = 3
4393
+ md["source"] = (md.get("source") or "Edit")
4394
+
4395
+ # If you track op params for history explorer
4396
+ md["__op_params__"] = {
4397
+ "op": "mono_to_rgb",
4398
+ "mode": "triplicate",
4399
+ "from": str(src_desc),
4400
+ "from_shape": tuple(before_shape) if before_shape is not None else None,
4401
+ "to_shape": tuple(rgb.shape),
4402
+ }
4403
+
4404
+ # name for logging
4405
+ try:
4406
+ name = getattr(doc, "display_name", lambda: None)() or getattr(doc, "name", "") or "Active"
4407
+ except Exception:
4408
+ name = "Active"
4409
+
4410
+ try:
4411
+ dm.update_active_document(
4412
+ rgb,
4413
+ metadata=md,
4414
+ step_name="Mono → RGB",
4415
+ doc=doc, # explicit is safer
4416
+ )
4417
+
4418
+ if hasattr(self, "_log"):
4419
+ self._log(
4420
+ f"Mono → RGB: '{name}' converted {src_desc} "
4421
+ f"(shape={before_shape}, dtype={before_dtype}) → "
4422
+ f"RGB (shape={rgb.shape}, dtype={rgb.dtype})."
4423
+ )
4424
+
4425
+ except Exception:
4426
+ import traceback
4427
+ try:
4428
+ from PyQt6.QtWidgets import QMessageBox
4429
+ QMessageBox.critical(self, "Mono → RGB", traceback.format_exc())
4430
+ except Exception:
4431
+ pass
4432
+
4433
+ def _swap_rb_active(self):
4434
+ """
4435
+ Swap R and B channels in the active RGB document (undoable).
4436
+ Intended for debayer/channel-order mismatches.
4437
+ """
4438
+ dm = getattr(self, "docman", None)
4439
+ if dm is None:
4440
+ return
4441
+
4442
+ try:
4443
+ doc = dm.get_active_document()
4444
+ except Exception:
4445
+ doc = None
4446
+ if doc is None:
4447
+ return
4448
+
4449
+ img = getattr(doc, "image", None)
4450
+ if img is None:
4451
+ return
4452
+
4453
+ import numpy as np
4454
+ x = np.asarray(img)
4455
+
4456
+ # Must be RGB
4457
+ if not (x.ndim == 3 and x.shape[-1] == 3):
4458
+ try:
4459
+ name = getattr(doc, "display_name", lambda: None)() or getattr(doc, "name", "") or "Active"
4460
+ except Exception:
4461
+ name = "Active"
4462
+
4463
+ if hasattr(self, "_log"):
4464
+ self._log(f"Swap R/B: '{name}' is not RGB (shape={getattr(x,'shape',None)}).")
4465
+ return
4466
+
4467
+ before_shape = x.shape
4468
+ before_dtype = x.dtype
4469
+
4470
+ # swap channels without changing dtype
4471
+ # (copy is safest so we don't mutate shared views)
4472
+ out = x.copy()
4473
+ out[..., 0], out[..., 2] = x[..., 2], x[..., 0]
4474
+
4475
+ # metadata: preserve existing, but annotate operation
4476
+ try:
4477
+ md = dict(getattr(doc, "metadata", None) or {})
4478
+ except Exception:
4479
+ md = {}
4480
+
4481
+ md["color_model"] = md.get("color_model", "RGB")
4482
+ md["channels"] = 3
4483
+ md["is_mono"] = False
4484
+ md["source"] = (md.get("source") or "Edit")
4485
+
4486
+ # If you track op params for history explorer
4487
+ md["__op_params__"] = {
4488
+ "op": "swap_rb",
4489
+ "from_shape": tuple(before_shape),
4490
+ "to_shape": tuple(out.shape),
4491
+ "dtype": str(before_dtype),
4492
+ }
4493
+
4494
+ try:
4495
+ name = getattr(doc, "display_name", lambda: None)() or getattr(doc, "name", "") or "Active"
4496
+ except Exception:
4497
+ name = "Active"
4498
+
4499
+ try:
4500
+ dm.update_active_document(
4501
+ out,
4502
+ metadata=md,
4503
+ step_name="Swap R ↔ B",
4504
+ doc=doc,
4505
+ )
4506
+
4507
+ if hasattr(self, "_log"):
4508
+ self._log(
4509
+ f"Swap R/B: '{name}' swapped channels "
4510
+ f"(shape={before_shape}, dtype={before_dtype})."
4511
+ )
4512
+
4513
+ except Exception:
4514
+ import traceback
4515
+ try:
4516
+ from PyQt6.QtWidgets import QMessageBox
4517
+ QMessageBox.critical(self, "Swap R/B", traceback.format_exc())
4518
+ except Exception:
4519
+ pass
4520
+
4521
+
4302
4522
  def _on_stackingsuite_relaunch(self, old_dir: str, new_dir: str):
4303
4523
  # Optional: respond to dialog's relaunch request
4304
4524
  try:
@@ -4399,9 +4619,16 @@ class AstroSuiteProMainWindow(
4399
4619
  # Create a callback to set the image back to the document
4400
4620
  def set_image_callback(image_data, step_name):
4401
4621
  """Apply the result image back to the active document."""
4402
- if active_doc and hasattr(active_doc, "set_image"):
4622
+ if active_doc and hasattr(active_doc, "apply_edit"):
4403
4623
  print(f"[AstroSpike] Setting image back to document, shape: {image_data.shape}")
4404
- # Pass metadata as empty dict and step_name separately
4624
+ # Use apply_edit for proper undo/redo integration
4625
+ meta = {
4626
+ "step_name": step_name,
4627
+ "astrospike": True
4628
+ }
4629
+ active_doc.apply_edit(image_data.astype(np.float32, copy=False), metadata=meta, step_name=step_name)
4630
+ elif active_doc and hasattr(active_doc, "set_image"):
4631
+ print(f"[AstroSpike] Setting image via set_image, shape: {image_data.shape}")
4405
4632
  active_doc.set_image(image_data, metadata={}, step_name=step_name)
4406
4633
  elif active_doc and hasattr(active_doc, "image"):
4407
4634
  print(f"[AstroSpike] Setting image directly, shape: {image_data.shape}")
@@ -7888,6 +8115,43 @@ class AstroSuiteProMainWindow(
7888
8115
 
7889
8116
  return t
7890
8117
 
8118
+ def _mdi_begin_open_batch(self, mode: str = "cascade"):
8119
+ self._mdi_open_batch += 1
8120
+ self._mdi_place_mode = mode or "cascade"
8121
+ self._mdi_next_pos = None
8122
+
8123
+ def _mdi_end_open_batch(self):
8124
+ self._mdi_open_batch = max(0, self._mdi_open_batch - 1)
8125
+ if self._mdi_open_batch == 0:
8126
+ self._mdi_next_pos = None
8127
+
8128
+ def _mdi_compute_initial_pos(self) -> QPoint:
8129
+ area = (self.mdi.viewport().geometry() if self.mdi.viewport() else self.mdi.contentsRect())
8130
+ # Put first window a bit inset so titlebars don’t clip
8131
+ return QPoint(area.left() + 18, area.top() + 18)
8132
+
8133
+ def _mdi_place_subwindow(self, sw, target_w: int, target_h: int):
8134
+ """Deterministic placement. Uses a stable cursor during batch opens."""
8135
+ vp = self.mdi.viewport()
8136
+ area = vp.geometry() if vp else self.mdi.contentsRect()
8137
+
8138
+ if self._mdi_next_pos is None:
8139
+ self._mdi_next_pos = self._mdi_compute_initial_pos()
8140
+
8141
+ x = self._mdi_next_pos.x()
8142
+ y = self._mdi_next_pos.y()
8143
+
8144
+ # keep inside viewport; reset when we hit edge
8145
+ if (x + target_w > area.right() - 10) or (y + 40 > area.bottom() - 10):
8146
+ x = area.left() + 18
8147
+ y = area.top() + 18
8148
+
8149
+ sw.move(x, y)
8150
+
8151
+ # advance cursor
8152
+ step = int(self._mdi_cascade_step)
8153
+ self._mdi_next_pos = QPoint(x + step, y + step)
8154
+
7891
8155
  def _spawn_subwindow_for(self, doc, *, force_new: bool = False):
7892
8156
  """
7893
8157
  Open a subwindow for `doc`. If one already exists and force_new=False,
@@ -8061,52 +8325,22 @@ class AstroSuiteProMainWindow(
8061
8325
  target_h = max(200, target_h)
8062
8326
 
8063
8327
  sw.resize(target_w, target_h)
8064
- sw.showNormal() # CRITICAL: clears any "maximized" flag from previous active window
8328
+ sw.showNormal() # clears any "maximized" flag from previous active window
8065
8329
 
8066
- # -------------------------------------------------------------------------
8067
- # Smart Cascade: Position relative to the *currently active* window
8068
- # (before we make the new one active).
8069
- # -------------------------------------------------------------------------
8070
- new_x, new_y = area.left(), area.top()
8071
-
8072
- # Get dominant/active window *before* we activate the new one
8073
- active = self.mdi.activeSubWindow()
8074
- if active and active.isVisible() and not (active.windowState() & Qt.WindowState.WindowMinimized):
8075
- # Cascade from the active window
8076
- geo = active.geometry()
8077
- new_x = geo.x() + 30
8078
- new_y = geo.y() + 30
8079
- else:
8080
- # Fallback: try to find the "last added" visible window to cascade from
8081
- # (useful if active is None but windows exist)
8082
- try:
8083
- subs = [s for s in self.mdi.subWindowList() if s.isVisible() and s is not sw]
8084
- if subs:
8085
- # simplistic "last created" might be at end of list
8086
- last = subs[-1]
8087
- geo = last.geometry()
8088
- new_x = geo.x() + 30
8089
- new_y = geo.y() + 30
8330
+ # Deterministic placement (batch-aware)
8331
+ try:
8332
+ self._mdi_place_subwindow(sw, target_w, target_h)
8333
+ except Exception:
8334
+ # absolute fallback: top-left-ish
8335
+ try:
8336
+ sw.move(area.left() + 18, area.top() + 18)
8090
8337
  except Exception:
8091
8338
  pass
8092
8339
 
8093
- # Bounds check: keep titlebar visible and stay inside viewport
8094
- if (new_x + target_w > area.right() - 10) or (new_y + 40 > area.bottom() - 10):
8095
- new_x = area.left()
8096
- new_y = area.top()
8097
-
8098
- new_x = max(area.left(), new_x)
8099
- new_y = max(area.top(), new_y)
8100
-
8101
- sw.move(new_x, new_y)
8102
-
8103
- # ❌ removed the "fill MDI viewport" block - we *don't* want full-monitor first window
8104
-
8105
8340
  # Show / activate
8106
8341
  sw.show()
8107
8342
  sw.raise_()
8108
8343
  self.mdi.setActiveSubWindow(sw)
8109
- # (no second setWindowTitle() here)
8110
8344
 
8111
8345
  # Optional minimize/restore interceptor
8112
8346
  if hasattr(self, "_minimize_interceptor"):
@@ -8887,6 +9121,13 @@ class AstroSuiteProMainWindow(
8887
9121
 
8888
9122
  super().keyPressEvent(event)
8889
9123
 
9124
+ def _open_texture_clarity(self):
9125
+ try:
9126
+ from setiastro.saspro.texture_clarity import open_texture_clarity_dialog
9127
+ open_texture_clarity_dialog(self)
9128
+ except Exception as e:
9129
+ print(f"Error opening Texture & Clarity: {e}")
9130
+
8890
9131
  def _update_usage_stats(self):
8891
9132
  try:
8892
9133
  now = time.time()
@@ -7,7 +7,7 @@ import os
7
7
  from typing import TYPE_CHECKING
8
8
 
9
9
  from PyQt6.QtCore import Qt
10
- from PyQt6.QtWidgets import QFileDialog, QMessageBox, QProgressDialog
10
+ from PyQt6.QtWidgets import QFileDialog, QMessageBox, QProgressDialog, QApplication
11
11
 
12
12
  if TYPE_CHECKING:
13
13
  pass
@@ -85,7 +85,6 @@ class FileMixin:
85
85
  self._save_recent_lists()
86
86
  if hasattr(self, "_rebuild_recent_menus"):
87
87
  self._rebuild_recent_menus()
88
- # Extracted FILE methods
89
88
 
90
89
  def open_files(self):
91
90
  # One-stop "All Supported" plus focused groups the user can switch to
@@ -114,21 +113,41 @@ class FileMixin:
114
113
  except Exception:
115
114
  pass
116
115
 
117
- # open each path (doc_manager should emit documentAdded; no manual spawn)
118
- for p in paths:
119
- try:
120
- doc = self.docman.open_path(p) # this emits documentAdded
121
- self._log(f"Opened: {p}")
122
- self._add_recent_image(p) # âœ... track in MRU
123
-
124
- # Increment statistics
116
+ # ---- BEGIN batch open (stable placement) ----
117
+ try:
118
+ self._mdi_begin_open_batch(mode="cascade")
119
+ except Exception:
120
+ pass
121
+
122
+ QApplication.setOverrideCursor(Qt.CursorShape.WaitCursor)
123
+ try:
124
+ # open each path (doc_manager should emit documentAdded; no manual spawn)
125
+ for p in paths:
125
126
  try:
126
- count = self.settings.value("stats/opened_images_count", 0, type=int)
127
- self.settings.setValue("stats/opened_images_count", count + 1)
128
- except Exception:
129
- pass
130
- except Exception as e:
131
- QMessageBox.warning(self, self.tr("Open failed"), f"{p}\n\n{e}")
127
+ _ = self.docman.open_path(p) # emits documentAdded; spawn will happen
128
+ self._log(f"Opened: {p}")
129
+ self._add_recent_image(p) # track MRU
130
+
131
+ # Increment statistics
132
+ try:
133
+ count = self.settings.value("stats/opened_images_count", 0, type=int)
134
+ self.settings.setValue("stats/opened_images_count", count + 1)
135
+ except Exception:
136
+ pass
137
+
138
+ # Let Qt paint newly spawned subwindows as we go
139
+ QApplication.processEvents()
140
+
141
+ except Exception as e:
142
+ QMessageBox.warning(self, self.tr("Open failed"), f"{p}\n\n{e}")
143
+ QApplication.processEvents()
144
+ finally:
145
+ QApplication.restoreOverrideCursor()
146
+ try:
147
+ self._mdi_end_open_batch()
148
+ except Exception:
149
+ pass
150
+
132
151
 
133
152
  def save_active(self):
134
153
  from setiastro.saspro.main_helpers import (
@@ -121,6 +121,10 @@ class MenuMixin:
121
121
  m_edit = mb.addMenu(self.tr("&Edit"))
122
122
  m_edit.addAction(self.act_undo)
123
123
  m_edit.addAction(self.act_redo)
124
+ m_edit.addSeparator()
125
+ m_edit.addAction(self.act_mono_to_rgb)
126
+ m_edit.addAction(self.act_swap_rb)
127
+
124
128
 
125
129
  # Functions
126
130
  m_fn = mb.addMenu(self.tr("&Functions"))
@@ -151,6 +155,7 @@ class MenuMixin:
151
155
  m_fn.addAction(self.act_signature)
152
156
  m_fn.addAction(self.act_star_stretch)
153
157
  m_fn.addAction(self.act_stat_stretch)
158
+ m_fn.addAction(self.act_texture_clarity)
154
159
  m_fn.addAction(self.act_wavescale_de)
155
160
  m_fn.addAction(self.act_wavescale_hdr)
156
161
  m_fn.addAction(self.act_white_balance)
@@ -170,8 +175,10 @@ class MenuMixin:
170
175
  m_tools.addAction(self.act_freqsep)
171
176
  m_tools.addAction(self.act_image_combine)
172
177
  m_tools.addAction(self.act_multiscale_decomp)
178
+ m_tools.addAction(self.act_narrowband_normalization)
173
179
  m_tools.addAction(self.act_nbtorgb)
174
180
  m_tools.addAction(self.act_ppp)
181
+
175
182
  m_tools.addAction(self.act_selective_color)
176
183
  m_tools.addSeparator()
177
184
  m_tools.addAction(self.act_view_bundles)
@@ -200,6 +207,7 @@ class MenuMixin:
200
207
  m_star.addAction(self.act_isophote)
201
208
  m_star.addAction(self.act_live_stacking)
202
209
  m_star.addAction(self.act_mosaic_master)
210
+ m_star.addAction(self.act_planetary_stacker)
203
211
  m_star.addAction(self.act_plate_solve)
204
212
  m_star.addAction(self.act_psf_viewer)
205
213
  m_star.addAction(self.act_rgb_align)