I have a 2d gaussian whose center has been destroyed by pixel saturation. I need the center to be filled in because a poorly filled in center will confuse a neural network I’m trying to train. See below: The scattered nan values I can handle fairly easily, but the large cluster in the gaussian’s center I cannot. I’ve tried various
Tag: astropy
Orbit integration in galpy without specifying the time steps array
I just discovered galpy and went all day through documentation and examples but I am still a little confused about the possibility to integrate an orbit without specifying the set of times. A simple example present in the documentation reads: but I ask if it’s possible to use the integrate method without specifying the whole array of times but only
How to exclude imports from automodapi output?
I am trying to use automodapi to generate documentation for my Django project. When I call automodapi like this: the output includes all imported classes and functions, e.g, the Django Model class, in the index of Functions and Classes. I would like to exclude the imports and only list those classes and functions declared in the module I specified. I
Display an astropy Quantity within a LaTeX string
I’m looking for a way to render astropy variables inside LaTeX strings within an IPython notebook. For example, given a simple premise, the speed of light is beautifully rendered by default as: by simply typing it in the ipython prompt. Now, what if I would like to embed this in a string? How to hop on the same rendering train