Skip to content
#

science

Here are 1,627 public repositories matching this topic...

julia
sgsokol
sgsokol commented Sep 4, 2020

Consider the following system and its solution:

from sympy import *
from sympy.abc import j,f

# augmented matrix
a=Matrix([
[1,  1, 1,  1, 1,  1, 1,  1,  1],
[0, -1, 0, -1, 0, -1, 0, -1, -j],
[0,  0, 0,  0, 1,  1, 1,  1,  f]
])

x=Matrix(list(linsolve(a))[0])

# check if x is a solution
a[:,:-1]*x-a[:,-1] # should be all 0 but the second term is 'tau0-tau1'

Do you have an

mhvk
mhvk commented Sep 25, 2020

Currently, most units are defined in si.py, cgs.py, and astrophys.py. As noted by @adrn in astropy/astropy#10586 (comment), the latter has become a bit of a miscellaneous bunch, including units that are not particular to astronomy at all. It would make sense to move those to a new misc.py. Indeed, some are sufficiently obscure that it might be an idea to allo

goedible
goedible commented Oct 6, 2020

Hi. I can imagine calendar options that would allow people to try different types of calendars. For example with lunar calendars like the Chinese, Vietnamese, Hindu, and Thai calendars.
I see this a powerful aid in teaching the importance of calendars and how they can help us relate to cosmic influences.
By the way... stellar work so far!

mikegray
mikegray commented Jun 13, 2019

Version of Singularity:

3.0.3

Expected behavior

Some progress or update information during the creation of the SIF file.

Actual behavior

During "Creating SIF file..." step, the console does not produce any visible output for the user - but does create the resulting file eventually.

Steps to reproduce behavior

I was executing a few “larger” builds through the bui

kangalioo
kangalioo commented Jul 21, 2020

What is the feature ?

I'm trying out this library for the first time and I'm seeing several places where some shorthand functions would have been really pleasant:

  1. Shorthand functions for Pos: Pos::top_right, Pos::bottom_right, Pos::bottom_center etc..
  2. Short way to set colors for components. My plots are supposed to be white-on-black, which requires a lot of boilerplate on lots o
maartenuni
maartenuni commented Oct 10, 2019

I'll show a brief program below. The program demonstrates unclear/consistent behavior of the size, width and height arguments when creating a new Rect. Using the argparse module, the user can easily create a rectangle using the size argument. When the program isn't given any argument, the width and height argument of Rect() are used and then the the proper size is used for the rectangle, if the

comoglu
comoglu commented Sep 28, 2020

I can see there is already a related/similar issue with this [(https://github.com/obspy/obspy/pull/2420 )] but since it has not been finalized I would create a new one.
I am not able to include stationMagnitude to the catalog conversion with my GSE2 format catalog. I thought it was because of my catalog. It might have some formatting problem but I tested it with the example file which was given i

Improve this page

Add a description, image, and links to the science topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the science topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.