Did I find the right examples for you? yes no

All Samples(156)  |  Call(0)  |  Derive(0)  |  Import(156)

src/g/a/GalSim-HEAD/examples/input/make_default_input.py   GalSim(Download)
# properly to find galsim as a package in the current directory.
try:
    import galsim
except ImportError:
    path, filename = os.path.split(__file__)
    sys.path.append(os.path.abspath(os.path.join(path, "..", "..")))
    import galsim

src/g/a/GalSim-HEAD/examples/des/draw_psf.py   GalSim(Download)
"""
 
import galsim
import os
import sys

src/g/a/GalSim-HEAD/examples/data/plot_thin.py   GalSim(Download)
#    and/or other materials provided with the distribution.
#
import galsim
import numpy as np
import matplotlib.pyplot as plt

src/g/a/GalSim-HEAD/examples/data/getSEDs.py   GalSim(Download)
 
import os
import galsim
import urllib2
from StringIO import StringIO

src/g/a/GalSim-HEAD/examples/data/getLSSTBandpass.py   GalSim(Download)
"""
 
import galsim
import urllib2
import numpy as np

src/g/a/GalSim-HEAD/examples/demo9.py   GalSim(Download)
import logging
import time
import galsim
 
def main(argv):

src/g/a/GalSim-HEAD/examples/demo8.py   GalSim(Download)
import time
import copy
import galsim
 
def main(argv):

src/g/a/GalSim-HEAD/examples/demo7.py   GalSim(Download)
import logging
import time
import galsim
 
 

src/g/a/GalSim-HEAD/examples/demo6.py   GalSim(Download)
import logging
import time
import galsim
 
def main(argv):

src/g/a/GalSim-HEAD/examples/demo5.py   GalSim(Download)
import logging
import time
import galsim
 
def main(argv):

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next