Commit ee0c07c9 authored by vertighel's avatar vertighel
Browse files

Drop pyvantagepro and gnuplotlib; atik2 becomes atik

- meteo.py (the only pyvantagepro user) moved to devices/old/;
  check.meteo_errors and the pyvantagepro import commented out
- fit_star(display=True) gnuplotlib plot commented out: no caller
  used it
- atik2.py (official AtikSDK) renamed to atik.py, cam2 in devices.ini
  updated; the previous atik.py kept as devices/old/atik_legacy.py

Co-Authored-By: default avatarClaude Opus 5.5 <noreply@anthropic.com>
parent 6cdc1309
Loading
Loading
Loading
Loading
+1 −1
Changes for noctua/config/devices.ini: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ ping-using = all
viewer-key = scicam1

[cam2]
module = atik2
module = atik
class = Camera
node = DUMMY
depends-on = pdu_cam2
+287 −361

File changed.

Preview size limit exceeded, changes collapsed.

+361 −287

File changed and moved.

Preview size limit exceeded, changes collapsed.

+0 −0

File moved.

+12 −12
Changes for noctua/utils/analysis.py: 12 added lines, 12 removed lines.
Original line number Diff line number Diff line
@@ -147,24 +147,24 @@ def fit_star(
    # Calculate the residuals
    residuals = data - fitted_model(x, y)

    if display:
    # if display:

        # Third-party modules
        import gnuplotlib as gp
    #     # Third-party modules
    #     import gnuplotlib as gp

        gp.plotimage(
    #     gp.plotimage(

            (data, {"xlabel": "data"}),
    #         (data, {"xlabel": "data"}),

            (fitted_model(x, y), {"xlabel": "model"}),
    #         (fitted_model(x, y), {"xlabel": "model"}),

            (residuals, {"xlabel": "Residuals"}),
    #         (residuals, {"xlabel": "Residuals"}),

            unset="grid",
            set="size square",
            terminal='x11 1',
            multiplot="layout 1,3",
        )
    #         unset="grid",
    #         set="size square",
    #         terminal='x11 1',
    #         multiplot="layout 1,3",
    #     )

    if model != "gaussian":
        if model == "moffat":
Loading