Skip to content

Instantly share code, notes, and snippets.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
from astroquery.jplhorizons import HorizonsClass
HorizonsClass.vectors_async = vectors_async_full
Horizons = HorizonsClass()
def vectors_async_full(self, get_query_payload=False, refplane='ecliptic',
closest_apparition=False, no_fragments=False,
get_raw_response=False, cache=True):
name: specviz_dev_env
channels:
- defaults
dependencies:
- ca-certificates=2018.03.07=0
- certifi=2018.4.16=py36_0
- libcxx=4.0.1=h579ed51_0
- libcxxabi=4.0.1=hebd6815_0
- libedit=3.1.20170329=hb402a30_2
- libffi=3.2.1=h475c297_4
@nmearl
nmearl / example_loader.py
Last active December 8, 2017 19:59
Example of how to create a custom python loader function for reading data into SpecViz.
import os
from astropy.io import fits
from astropy.wcs import WCS
from astropy.units import Unit
from astropy.nddata import StdDevUncertainty
from specviz.interfaces.decorators import data_loader
from specviz.core.data import Spectrum1DRef

Keybase proof

I hereby claim:

  • I am nmearl on github.
  • I am nmearl (https://keybase.io/nmearl) on keybase.
  • I have a public key whose fingerprint is 6502 BEC5 3F04 DC7D 122E F9EB 78A8 C346 83E2 99CA

To claim this, I am signing this object:

@nmearl
nmearl / engine_input.md
Created February 9, 2017 19:58
Documentation for engine parameters files and output data

Currently Supported Calculation Modes (03-2016)

The following following JWST instrument/mode combinations are currently implemented, working, and part of the nightly regression tests:

  • miri:
    • imaging
    • mrs
  • coronagraphy