Giter Club home page Giter Club logo

suppnet's People

Contributors

rozanskit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

suppnet's Issues

Compute continua for a batch of spectra

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!

Cannot run SUPPNET

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.

Suggestions to saving of normalised spectra results

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.

Unable to use suppnet

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.