From 95644e2cdf5c01db999c290688518d1dcd736965 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ne=C4=8Dada?= Date: Thu, 16 Feb 2017 01:33:32 +0000 Subject: [PATCH] eVmin, eVmax types Former-commit-id: bba9aa8a8b824844a87f9c4bf418a2bf074f5380 --- misc/dispersion-SVD.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/dispersion-SVD.py b/misc/dispersion-SVD.py index e53027f..e9099c3 100755 --- a/misc/dispersion-SVD.py +++ b/misc/dispersion-SVD.py @@ -22,8 +22,8 @@ parser.add_argument('--output', action='store', help='Path to output PDF') parser.add_argument('--nSV', action='store', metavar='N', type=int, default=1, help='Store and draw N minimun singular values') parser.add_argument('--background_permittivity', action='store', type=float, default=1., help='Background medium relative permittivity (default 1)') parser.add_argument('--sparse', action='store', type=int, help='Skip frequencies for preview') -parser.add_argument('--eVmax', action='store', help='Skip frequencies above this value') -parser.add_argument('--eVmin', action='store', help='Skip frequencies below this value') +parser.add_argument('--eVmax', action='store', type=float, help='Skip frequencies above this value') +parser.add_argument('--eVmin', action='store', type=float, help='Skip frequencies below this value') parser.add_argument('--kdensity', action='store', type=int, default=66, help='Number of k-points per x-axis segment') #TODO some more sophisticated x axis definitions parser.add_argument('--gaussian', action='store', type=float, metavar='σ', help='Use a gaussian envelope for weighting the interaction matrix contributions (depending on the distance), measured in unit cell lengths (?) FIxME).')