GithubHelp home page GithubHelp logo

lopesth / sp3ctrum Goto Github PK

View Code? Open in Web Editor NEW
3.0 4.0 1.0 13.71 MB

UV-vis spectra simulation program from oscillator strength results.

License: GNU General Public License v2.0

Python 100.00%
spectroscopy g09 molecular-dynamics physical-chemistry molecular-modeling

sp3ctrum's People

Contributors

brittosandro avatar danielfsm avatar lopesth avatar mateus-rb avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

phfmatias

sp3ctrum's Issues

Negative and Null FWHM

There is no physical sense on negative FWHM, even so the program calculate it at negative values of FWHM, that may cause trouble to less experienced users.
Acroleina_water_15_1c
The use of zero on FWHM causes malfunction of the plot spectrum button.

Options in terminal call

Terminal with answer and friendly questions:
sp3trum_app - friendly

Terminal with file with the parameters fed in execution:
sp3trum_app -file file.in ()

Graphical User Interface:
sp3trum_app -gui

Block on Plot Spectrum

Close the plot window blocks the Plot Spectrum button, it would be better to deseable the bottom only on stances that the spectrum need to be recalculated. Changes on Plot Parameters and Versus Experimental Values should not block Plot spectrum, while changes on Files, Spectrum Parameters, Advanced Options should block it.
Screenshot from 2019-11-01 11-06-41
Screenshot from 2019-11-01 11-06-58

Zero on Start Parameter

Specifying zero as the start wavelength may causes the program to crash due to undefined zero division, the use of negative wavelengths, even tho not physically correct, does not cause the same crash.
Screenshot from 2019-11-01 10-45-07

Implemented the keywords

-file (fed with a file with choices)
-friendly (Terminal with return of questions)
-gui (Graphical Interface)

Independent Files Subplot with Gray Bar

The visualization subplot used when plotting 2 or more spectrum has a gray bar on the bottom part of each individual subplot, this happens only on the visualization plot and it probably occurs because of the second derivative gray box that exist on the bottom of the window.
Screenshot from 2019-11-01 11-52-41

Help Menu!

Both Help menu options do not work, the first "Manual" does nothing while the second "Tutorial Video" opens a internet tab of the ask Ubuntu forum.

line_excit1=`grep -n " Excited State "$final":" $input".log" | awk '{print $1}' | tr -d :`

line_excit1=grep -n " Excited State "$final":" $input".log" | awk '{print $1}' | tr -d :
line_excit2=echo $line_excit1 | awk '{print $1+4}'
for ((z=line_excit1; z<=line_excit2; z++)); do
cat $input".log" | sed -n ${z}p >> $input"processado_spectrum_exc.txt"
done
echo "Orbitais envolvidos Porcentagem" >> "ener
"$input".txt"
for ((b=1; b<=5; b++)); do
se=cat $input"_processado_spectrum_exc.txt" | sed -n ${b}p | awk '{print $2}'
if [[ "$se" == "->" ]]; then
cat $input"processado_spectrum_exc.txt" | sed -n ${b}p | awk '{print " "$1" "$2" "$3" "$4*$4*2"%"}' >> "ener"$input".txt"
cat $input"processado_spectrum_exc.txt" | sed -n ${b}p | awk '{print $4*$42}' >> "ener_sum"$input".txt"
elif [[ "$se" == "<-" ]]; then
cat $input"_processado_spectrum_exc.txt" | sed -n ${b}p | awk '{print " "$1" "$2" "$3" "$4
$4*2"%"}' >> "ener
"$input".txt"
cat $input"_processado_spectrum_exc.txt" | sed -n ${b}p | awk '{print -$4*$4*2}' >> "ener_sum"$input".txt"
fi
done

Multiple Files with Logical MD Pattern

The current Logical pattern has default strings that reduce the generality of the Logical pattern, thus only very few logical pattern can be interpreted by the program. To solve such problem it will be needed to remove the fix sections of the Logical pattern, for example:

from : initialName+----+FRAME+----+finalName+.log
to: initialName+Frame+finalName

This way it is up to the user to input the entirety of the Logical pattern, but it will work with any kind of name pattern used, thus the user will not have to name his calculations flowing a prefix from Sp3ctrum-P4tronus program to use this option.
The box for such option is by default too small for Linux system.

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.