Ejemplo n.º 1
0
def usage():
    print("Usage:")
    print("  bands.py [params]")
    print("  -b <bands>: string, default: U-B-V-R-I, for example U-B-V")
    print("  -h  print usage")
    print("   --- ")
    band.print_bands()
Ejemplo n.º 2
0
def usage():
    print "Usage:"
    print "  dmdt.py [params]"
    print "  -b <set_bands>: delimiter '-'. Default: 'UVW1-U'.\n"
    print "  -i <model name>.  Example: cat_R450_M15_Ni007_E7"
    print "  -p <model path(directory)>, default: ./"
    print "  -t  plot time points"
    print "  -w  write magnitudes to file, default 'False'"
    print "  -h  print usage"

    band.print_bands()
Ejemplo n.º 3
0
def usage():
    print("Usage:")
    print("  dmdt.py [params]")
    print("  -b <set_bands>: delimiter '-'. Default: 'UVW1-U'.\n")
    print("  -i <model name>.  Example: cat_R450_M15_Ni007_E7")
    print("  -p <model path(directory)>, default: ./")
    print("  -t  plot time points")
    print("  -w  write magnitudes to file, default 'False'")
    print("  -h  print usage")

    band.print_bands()
Ejemplo n.º 4
0
def usage():
    bands = band.band_get_names()
    print "Usage:"
    print "  %s [params]" % __file__
    print "  -b <set_bands>: delimiter '_'. Default: B-V-I_B-V_V-I"
    print "  -i <model name>.  Example: cat_R450_M15_Ni007_E7"
    print "  -p <model path(directory)>, default: ./"
    print "  -f  force mode: rewrite zeta-files even if it exists"
    # print "  -a  plot the Eastman & Dessart fits"
    print "  -o  options: <fit:fitb:time:ubv:Tnu> - fit E&D: fit bakl:  show time points: plot UBV"
    # print "  -w  write magnitudes to file, default 'False'"
    print "  -s  save plot to file, default 'False'"
    print "  -h  print usage"
    print "   --- "
    band.print_bands()
Ejemplo n.º 5
0
def usage():
    print("Usage:")
    print("  obs.py [params]")
    print("  -b <bands:shift>: string, default: U-B-V-R-I.\n"
          "     shift: to move lc along y-axe (minus is '_', for example -b R:2-V-I:_4-B:5 ")
    print("  -c <callback> [lcobs:fname:marker:dt:dm, popov[:R:M:E[FOE]:Mni]]. "
          "You can add parameters in format func:params")
    print("  -g <single, grid, gridm, gridl> Select plot view.  single [default] = all models in one figure"
          ", grid = for each band separate figure.")
    print("  -s  without extension. Save plot to pdf-file. Default: if 1, fname =  'ubv_obs.pdf'")
    print("  -x  <xbeg:xend> - xlim, ex: 0:12. Default: None, used all days.")
    print("  -l  write plot label")
    print("  -h  print usage")
    print("   --- ")
    band.print_bands()
Ejemplo n.º 6
0
def usage():
    print "Usage:"
    print "  zeta.py [params]"
    print "  -b <set_bands>: delimiter '_'. Default: B-V-I_B-V_V-I"
    print "  -d <distance> [pc].  Default: 10 pc"
    print "  -i <model name>.  Example: cat_R450_M15_Ni007_E7"
    print "  -p <model path(directory)>, default: ./"
    print "  -e <model extension> is used to define model name, default: tt "
    print "  -s  silence mode: no info, no plot"
    print "  -f  force mode: rewrite zeta-files even if it exists"
    # print "  -a  plot the Eastman & Dessart fits"
    print "  -o  options: <fit:fitb:time:ubv:Tnu> - fit E&D: fit bakl:  show time points: plot UBV"
    print "  -w  write magnitudes to file, default 'False'"
    print "  -z <redshift>.  Default: 0"
    print "  -h  print usage"
    print "  ---  "

    band.print_bands()
Ejemplo n.º 7
0
def usage():
    print "Usage:"
    print "  ubv.py [params]"
    print "  -b <bands:shift>: string, default: U-B-V-R-I, for example U-B-V-R-I-u-g-i-r-z-UVW1-UVW2.\n" \
          "     shift: to move lc along y-axe (minus is '_', for example -b R:2-V-I:_4-B:5 "
    print "  -i <model name>.  Example: cat_R450_M15_Ni007_E7"
    print "  -p <model directory>, default: ./"
    print "  -e <extinction, E(B-V)> is used to define A_nu, default: 0 "
    print "  -c <callback> [plot_tolstov, popov[:R:M:E[FOE]:Mni]]. You can add parameters in format func:params"
    print "  -d <distance> [pc].  Default: 10 pc"
    print "  -m <magnification>.  Default: None, used for grav lens"
    print "  -q  turn off quiet mode: print info and additional plots"
    print "  -t  plot time points"
    print "  -s  <file-name> without extension. Save plot to pdf-file. Default: ubv_<file-name>.pdf"
    print "  -x  <xbeg:xend> - xlim, ex: 0:12. Default: None, used all days."
    print "  -y  <ybeg:yend> - ylim, ex: 26:21. Default: None, used top-magnitude+-5."
    print "  -v  plot model velocities."
    print "  -w  write magnitudes to file, default 'False'"
    print "  -z <redshift>.  Default: 0"
    print "  -l  write plot label"
    print "  -h  print usage"
    print "   --- "
    band.print_bands()