rozanskit / suppnet Goto Github PK
View Code? Open in Web Editor NEWSUPPNet: Neural network for stellar spectrum normalisation
Home Page: https://rozanskit.com/suppnet/
SUPPNet: Neural network for stellar spectrum normalisation
Home Page: https://rozanskit.com/suppnet/
Hi,
Just a small suggestion. Perhaps it would be nice if the top column was saved with a #
. Right now it is saved as wave flux normed_flux normed_error
, which can cause TOPCAT (especially TOPCAT!) or np.loadtxt (without skiprows) to interpret it as part of the data and thus a string. Maybe changing it to the # wave flux normed_flux normed_error
would make it a tiny bit easier to load normalised data without the need to specify first column as a comment every time? Cheers.
P.S. Thanks a lot for switching to PySide6, it works great on my Mac now.
Hi,
It seems like PySide2 doesn't support M1/M2 Mac chips. PySide6 seems to support it? Could you look into switching to PySide6 to allow M-chip users to use this tool? Thanks!
Some links where I got some info about this just to get you started:
https://www.pythonguis.com/faq/pyside2-vs-pyside6/
https://stackoverflow.com/questions/58743664/why-do-i-keep-getting-errors-when-i-try-to-install-pyside2-on-windows-pc
Hi there,
Currently I am estimating the continuum for each spectrum separately using
cont, cont_err, seg, seg_err = nn.normalize(wave_grid, spectrum)
However, to make use of the efficiency of the neural network, it would be nice if I could feed a batch of spectra at a time. Would this capability be possible?
Thanks!
Hii. I have been using suppnet for a few months, but after recently updating my laptop, it stopped working. I have tried installing the suppnet from the beginning, but it is not able to run-
conda env create -f environment.yml
I have also tried to manually build a new conda environment and install the required packages as mentioned in environment.yml, but I couldn't do it because tensorflow==2.4.0 and matplotlib==3.7.1 require two different versions of numpy. Can you please help me resolve this issue?
Hi,
I recently tried to follow the read.me file to install SUPPNET. I created the environment and the symbolic link but when I try to run SUPPNET (either by typing 'SUPPNET' or going to the directory and run 'python3 suppnet.py') this error message appears:
Calling python "/home/trentin/suppnet/suppnet.py"
Traceback (most recent call last):
File "/home/trentin/suppnet/suppnet.py", line 17, in <module>
from matplotlib.backends.backend_qt5agg import (
File "/home/trentin/.local/lib/python3.8/site-packages/matplotlib/backends/backend_qt5agg.py", line 5, in <module>
from .backend_qtagg import (
File "/home/trentin/.local/lib/python3.8/site-packages/matplotlib/backends/backend_qtagg.py", line 12, in <module>
from .backend_qt import (
File "/home/trentin/.local/lib/python3.8/site-packages/matplotlib/backends/backend_qt.py", line 73, in <module>
_MODIFIER_KEYS = [
File "/home/trentin/.local/lib/python3.8/site-packages/matplotlib/backends/backend_qt.py", line 74, in <listcomp>
(_to_int(getattr(_enum("QtCore.Qt.KeyboardModifier"), mod)),
TypeError: int() argument must be a string, a bytes-like object or a number, not 'KeyboardModifier'
The line in question is:
from matplotlib.backends.backend_qt5agg import (
FigureCanvasQTAgg as FigureCanvas,
NavigationToolbar2QT as NavigationToolbar)
But if I try to import this package on python by itself, it works fine.
Thank you in advance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.