Skip to main content

Python module for simulating DES TNO observations

Project description

DESTNOSIM

Introduction

This repository contains the DES TNO survey simulator, as well as a bunch of tools for generating synthethic TNO populations, and for dealing with DES exposure information. This software has been described in detail in:

While this software can handle both the Y4 and Y6 releases, we suggest that only Y6 is used for any statistical studies.

Dependencies

Python:

External:

Installation

The Python package can be installed in a standard way:

    pip install destnosim

In order to use the des-specific functions, you'll need the correspondent exposure and ccd corner files (located in the data directory). Their location should be specified by defining an environment variable called DESDATA. The data folder needs to be downloaded separately from the cloning/download of the repository, as the files sizes are a bit too large for GitHub's standard file system.

The orbitspp installation is detailed in that package's page. It can be a bit tricky, and requires many different pieces to be put together. Make sure your environment has a ORBITSPP variable pointing to the bin folder of your orbitspp installation. This will link the C++ software with some of the tools present here.

If you do not install orbitspp, you necessarily have to use spacerocks for ephemerides generation. See here for a discussion.

Usage

A simple tutorial for the software included here is included here. This tutorial projects the almost 70 thousand synthethic objects from the CFEPS-L7 model into the DES exposures and evaluates the detectability of all objects. For more advanced usage, the user is encouraged to delve into the files and the documentation.

WARNING

In some versions of MacOS, there is a safety feature that does not propagate environment variables to shells that are generated inside other processes. What this means for destnosim is that orbitspp calls from inside python shells do not load orbitspp correctly. This is unfortunate, and a fix is forthcoming. In the meanwhile, the code will print the correct command line calls to orbitspp, and you can run these in your own shell. We apologize for the somewhat messy problem!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

DESTNOSIM-1.2.2-py2.py3-none-any.whl (32.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page