Skip to content

Tool to calibrate TESS-W sensor spectral response, written in Textual

License

Notifications You must be signed in to change notification settings

STARS4ALL/textual-spectess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

textual-spectess

Tool to calibrate TESS-W sensor spectral response, written in Textual

enviromental file

.env file shoudl contain:

REF_ENDPOINT=serial:/dev/ttyUSB0:9600
TEST_ENDPOINT=udp:192.168.4.1:2255
DATABASE_URL=sqlite+aiosqlite:///spectess.db

Notes

from Tasck Overflow Textual widgets have an internal message queue that processes events sequentially. Your on_mount handler is processing one of these events, but because it is an infinite loop, you are preventing further events for being processed.

If you want to process something in the background you will need to creat a new asyncio Task. Note that you can’t await that task, since that will also prevent the handler from returning.

textual console
textual run --dev -c spectess --textual --log-file kk.log

Prepare migrations with alembic

alembic init -t async src/migrations

BG38 from 350 nm to 569 nm OG570 from 570 nm to 859 nm RG830 from 860 nm to 1050 nm

About

Tool to calibrate TESS-W sensor spectral response, written in Textual

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages