Loading noctua/defaults/snapshot_imaging.json 0 → 100644 +12 −0 Original line number Diff line number Diff line {"template" : "snapshot_imaging", "params": { "object": "test object", "binning": 1, "xystart": [1865, 1856], "xyend": [2279, 2268], "exptime": 1, "repeat": 1, "filter": "FREE", "frametype": "Light" } } noctua/defaults/snapshot_spectro.json 0 → 100644 +11 −0 Original line number Diff line number Diff line {"template" : "snapshot_spectro", "params": { "object": "test spectro", "binning": 1, "xystart": [0, 4007], "xyend": [1500, 2000], "exptime": 1, "repeat": 1, "frametype": "Light" } } noctua/templates/fillheader.py +0 −2 Original line number Diff line number Diff line Loading @@ -31,8 +31,6 @@ class Template(BaseTemplate): try: save = params.get("save") or True objname = params.get("object") or "test" log.debug("-------------") log.debug(params.get("imagetyp")) imagetyp = params.get("imagetyp") or "object" ob = params.get("ob") or None tpl = params.get("template") or None Loading noctua/web/pages/macros/sections/control_panel.html +11 −9 Original line number Diff line number Diff line Loading @@ -75,7 +75,7 @@ <div class="row g-2 mb-2"> <div class="col-4"> <label class="small text-muted">Type</label> <select class="form-select form-select-sm bg-black text-light border-secondary" data-parameter="observation-frametype"> <select class="form-select form-select-sm bg-black" data-parameter="observation-frametype"> <option value="Light">Light</option> <option value="Bias">Bias</option> <option value="Flat">Flat</option> Loading @@ -84,20 +84,22 @@ </div> <div class="col-4" id="row-filter"> <label class="small text-muted">Filter</label> <select class="form-select form-select-sm bg-black text-light border-secondary" data-parameter="observation-filter"> <select class="form-select form-select-sm bg-black" data-parameter="observation-filter"> <option value="SDSS u">SDSS u</option> <option value="SDSS g">SDSS g</option> <option value="SDSS r">SDSS r</option> <option value="SDSS i">SDSS i</option> <option value="SDSS z">SDSS z</option> <option value="SDSS y">SDSS y</option> <option value="SDSS FREE">Free</option> <option value="FREE">Free</option> </select> </div> <div class="col-4"> <label class="small text-muted">Binning</label> <select class="form-select form-select-sm bg-black text-light border-secondary" data-parameter="observation-binning"> <option value="1">1x1</option><option value="2">2x2</option><option value="3">3x3</option> <select class="form-select form-select-sm bg-black" data-parameter="observation-binning"> <option value="1">1x1</option> <option value="2">2x2</option> <option value="3">3x3</option> </select> </div> </div> Loading @@ -105,17 +107,17 @@ <div class="row g-2 mb-3"> <div class="col-6"> <label class="small text-muted">Exptime (s)</label> <input type="number" class="form-control form-control-sm bg-black text-info border-secondary" <input type="number" class="form-control form-control-sm bg-black" value="10.0" data-parameter="observation-exptime"> </div> <div class="col-6"> <label class="small text-muted">Repeat (#)</label> <input type="number" class="form-control form-control-sm bg-black text-info border-secondary" <input type="number" class="form-control form-control-sm bg-black" value="1" data-parameter="observation-repeat"> </div> <div class="col-12"> <label class="small text-muted">Object Name</label> <input type="text" class="form-control form-control-sm bg-black text-info border-secondary" <input type="text" class="form-control form-control-sm bg-black" value="Test" data-parameter="observation-object"> </div> </div> Loading Loading @@ -143,7 +145,7 @@ <button class="btn btn-danger btn-universal" data-method="DELETE" data-url="/sequencer/run"> ■ Stop Stop </button> </div> </div> Loading noctua/web/static/js/control.js +3 −3 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ const MODE_CONFIG = { const FRAMING_PRESETS = [ { label: 'Full Frame', path: '/frame/full' }, { label: 'Half Frame', path: '/frame/half' }, { label: "2' × 2'", path: '/frame/small' }, { label: "Small Frame", path: '/frame/small' }, ]; // --------------------------------------------------------------------------- Loading Loading
noctua/defaults/snapshot_imaging.json 0 → 100644 +12 −0 Original line number Diff line number Diff line {"template" : "snapshot_imaging", "params": { "object": "test object", "binning": 1, "xystart": [1865, 1856], "xyend": [2279, 2268], "exptime": 1, "repeat": 1, "filter": "FREE", "frametype": "Light" } }
noctua/defaults/snapshot_spectro.json 0 → 100644 +11 −0 Original line number Diff line number Diff line {"template" : "snapshot_spectro", "params": { "object": "test spectro", "binning": 1, "xystart": [0, 4007], "xyend": [1500, 2000], "exptime": 1, "repeat": 1, "frametype": "Light" } }
noctua/templates/fillheader.py +0 −2 Original line number Diff line number Diff line Loading @@ -31,8 +31,6 @@ class Template(BaseTemplate): try: save = params.get("save") or True objname = params.get("object") or "test" log.debug("-------------") log.debug(params.get("imagetyp")) imagetyp = params.get("imagetyp") or "object" ob = params.get("ob") or None tpl = params.get("template") or None Loading
noctua/web/pages/macros/sections/control_panel.html +11 −9 Original line number Diff line number Diff line Loading @@ -75,7 +75,7 @@ <div class="row g-2 mb-2"> <div class="col-4"> <label class="small text-muted">Type</label> <select class="form-select form-select-sm bg-black text-light border-secondary" data-parameter="observation-frametype"> <select class="form-select form-select-sm bg-black" data-parameter="observation-frametype"> <option value="Light">Light</option> <option value="Bias">Bias</option> <option value="Flat">Flat</option> Loading @@ -84,20 +84,22 @@ </div> <div class="col-4" id="row-filter"> <label class="small text-muted">Filter</label> <select class="form-select form-select-sm bg-black text-light border-secondary" data-parameter="observation-filter"> <select class="form-select form-select-sm bg-black" data-parameter="observation-filter"> <option value="SDSS u">SDSS u</option> <option value="SDSS g">SDSS g</option> <option value="SDSS r">SDSS r</option> <option value="SDSS i">SDSS i</option> <option value="SDSS z">SDSS z</option> <option value="SDSS y">SDSS y</option> <option value="SDSS FREE">Free</option> <option value="FREE">Free</option> </select> </div> <div class="col-4"> <label class="small text-muted">Binning</label> <select class="form-select form-select-sm bg-black text-light border-secondary" data-parameter="observation-binning"> <option value="1">1x1</option><option value="2">2x2</option><option value="3">3x3</option> <select class="form-select form-select-sm bg-black" data-parameter="observation-binning"> <option value="1">1x1</option> <option value="2">2x2</option> <option value="3">3x3</option> </select> </div> </div> Loading @@ -105,17 +107,17 @@ <div class="row g-2 mb-3"> <div class="col-6"> <label class="small text-muted">Exptime (s)</label> <input type="number" class="form-control form-control-sm bg-black text-info border-secondary" <input type="number" class="form-control form-control-sm bg-black" value="10.0" data-parameter="observation-exptime"> </div> <div class="col-6"> <label class="small text-muted">Repeat (#)</label> <input type="number" class="form-control form-control-sm bg-black text-info border-secondary" <input type="number" class="form-control form-control-sm bg-black" value="1" data-parameter="observation-repeat"> </div> <div class="col-12"> <label class="small text-muted">Object Name</label> <input type="text" class="form-control form-control-sm bg-black text-info border-secondary" <input type="text" class="form-control form-control-sm bg-black" value="Test" data-parameter="observation-object"> </div> </div> Loading Loading @@ -143,7 +145,7 @@ <button class="btn btn-danger btn-universal" data-method="DELETE" data-url="/sequencer/run"> ■ Stop Stop </button> </div> </div> Loading
noctua/web/static/js/control.js +3 −3 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ const MODE_CONFIG = { const FRAMING_PRESETS = [ { label: 'Full Frame', path: '/frame/full' }, { label: 'Half Frame', path: '/frame/half' }, { label: "2' × 2'", path: '/frame/small' }, { label: "Small Frame", path: '/frame/small' }, ]; // --------------------------------------------------------------------------- Loading