Package: teda
TeDa FITS ViewerObservatory optimized FITS Images viewerKey FeaturesFlexible windows and widgets layoutWCS supportRadial Profile with gaussoide fit (tryr-key)Scan mode: observes directory for changes and automatically opens new FITSIntegrated ipython console with direct access to data and applicationInstallationThe safest and recommended way to install TeDa is to usepipx:pipxinstalltedatedaConsultpipx documentationfor installation instructions.Optional dependenciesTo use ipython console theconsoleextra should be specified.
This extra installsipythonandqtconsolepackages.pipxinstallteda[console]For directory scanning functionality, thewatchdogpackage should be installed, e.g.pipxinstallteda[watchdog]RunThe installation scripts should install the command:tedaif it is not working, try:pipx ensurepathto add pipx-installed binaries to your path.Command line parametersteda --helpfor list of command line parameters.Dynamic Scale and ColorThe dynamic scale of the image, and color mapping can be adjusted form
theDynamic Scalepanel. From menu:View/Dynamic ScaleFits Header Cards PinningOn the FITS Header panel, selected keys can bepinnedto appear
on the top ot the list. This can be done via context (right-click) menu.The set of pinned keys is saved and preserved between sessions.Radial ProfileTheRadial Profilebutton turns on the mode of selecting targets for
the radial profile analysis. Make sure the radial profile panel is visible
(View/Radial Profile). The shortcut for displaying radial profile of the star
under cursor is theR-key.The centroid of the star is corrected within small (be precise!) radius
using the bivariate gaussoide fit.Together with the pixels values, the radial profile presents 1D fit of
"gaussian(r) + sky". This fit provides information of presented fwhm and sky level.Integrated Python ConsoleIn order to use integrated python console theconsoleextra dependency group have to be installedThe console is available form menuView/Python ConsolePredefined variablesThe console has a number of predefined variables set:ax: WCSAxesSubplotmain plotting axes.window: MainWindowmain windowdata: numpy.ndarraycurrent HDU dataheader: astropy.fits.Headercurrent HDU headerwcs: astropy.wcs.WCSthe WCS transformerPlottingTo plot directly on the console, run the following magic command%matplotlib inline.When plotting on the main canvas, the result will appear after redrawing
main figure byax.figure.canvas.draw().The example below, draws linear profile on the console and corresponding
line on the main FITS display:%matplotlibinlineimportmatplotlib.pyplotaspltax.plot([10,30],[10,10])ax.figure.canvas.draw()plt.plot(data[10,10:30])Directory ScanTheScan Toolbar(hidden by default) provides controls for the
directory scanning mode.This mode is intended to observe newly created FITS files in observatory.After pressingScanbutton, and choosing directory, TeDa Fits Viewer will
load most recent FITS file from that directory, and keep watching the directory
for changes. When new FITS file is added to directory, it will be loaded
automatically.User can pause scanning usingPausebutton. There is alsoauto pausefeature,
when active, any mouse movement in the main area pauses scanning for 5 seconds,
avoiding FITS reload when working.After un-pausing (manually or after idle 5 seconds when auto-pause) the newest
FITS will be loaded if any new files appeared during the pause.Directory scanning needs thewatchdogextra dependency to be
installed (see Installation above).Directory PanelThe Directory Panel can be shown using menu commandView-Directory view.The Directory Panel is convenient files navigator. The panel has two views:Directory TreeFiles ListUser can collapse any of them using divider handle and use only remaining one.
If the tree view is the only visible, it shows directories and files as well.Development version installTeDa usespoetryfor development and packaging.gitclonehttps://github.com/majkelx/teda.gitcdtedapoetryinstallBugs, remarks, greetings and contributionPlease useGitHub issues trackerandpull requests.@2020-2023AkondLabfor theAraucaria Project.