GithubHelp home page GithubHelp logo

belaa / imsim Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lsstdesc/imsim

0.0 1.0 0.0 162 KB

GalSim based LSST simulation package

License: BSD 3-Clause "New" or "Revised" License

Python 97.30% Shell 2.70%

imsim's Introduction

Build Status Coverage Status

imSim

GalSim based LSST simulation package

Set up

Set up the lsst_sims distribution, then enter the following from this repo directory:

$ eups declare -r . imsim -t current
$ setup imsim
$ scons

Once you have eups declared a package like this, you only need to execute the setup imsim command, and that command can be issued from any directory. The scons build step needs only to be re-run if a new command line executable is added to the bin.src folder.

Usage

The executables in the bin folder should be in your path and so should be runnable directly from the command line:

$ imsim.py --help
usage: imsim.py [-h] [-n NUMROWS] [--outdir OUTDIR] [--sensor SENSOR]
                [--config_file CONFIG_FILE]
                [--log_level {DEBUG,INFO,WARN,ERROR,CRITICAL}]
                file

positional arguments:
  file                  The instance catalog

optional arguments:
  -h, --help            show this help message and exit
  -n NUMROWS, --numrows NUMROWS
                        Read the first numrows of the file.
  --outdir OUTDIR       Output directory for eimage file
  --sensor SENSOR       Sensor to simulate, e.g., "R:2,2 S:1,1". If None, then
                        simulate all sensors with sources on them
  --config_file CONFIG_FILE
                        Config file. If None, the default config will be used.
  --log_level {DEBUG,INFO,WARN,ERROR,CRITICAL}
                        Logging level. Default: "INFO"

Similarly, by doing setup imsim, the PYTHONPATH environment variable has been modified so that the desc.imsim module is available:

>>> import desc.imsim
>>>

imsim's People

Watchers

 avatar

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.