Skip to content
#

science

Here are 2,241 public repositories matching this topic...

julia
BambOoxX
BambOoxX commented Jun 21, 2022

This subject was initially discussed in https://discourse.julialang.org/t/efficient-way-to-split-string-at-specific-index/83115/17 regarding a way to split a string into equal-length substrings.

The solutions discussed involved (for a string composed of 10 blocks of 8 strings)

  • using a comprehension split8(str::String) = [str[i+1:8] for i in 0:8:length(str)]
  • using a comprehension and `S
good first issue strings iteration
matthew-brett
matthew-brett commented May 28, 2022

I have two expressions, one adding a symbol to a matrix, the other adding a matrix to a symbol

import sympy

A = sympy.MatrixSymbol('A', 1, 1)
sy_b = sympy.Symbol('b')

sym_plus_mat = sympy.MatAdd(sy_b, A, evaluate=False)
mat_plus_sym = sympy.MatAdd(A, sy_b, evaluate=False)

I can print both of these expressions without problem:

print(sym_plus_mat)
print
Easy to Fix good first issue
stellarium
gzotti
gzotti commented Jul 23, 2022

Discussed in Stellarium/stellarium#2530

Originally posted by onlinebacon July 23, 2022
I'm doing some celestial navigation software and was using the help of the nautical almanac and stellarium to get star information. And couldn't find Schedar on stellarium, then I figured it was being spelled without the "c

enhancement state: in progress data good first issue
astrofrog
astrofrog commented Aug 8, 2022

At the moment, when reading a FITS file with BUNIT set to adu with CCDData.read, one gets the following info message:

INFO:astropy:using the unit adu passed to the FITS reader instead of the unit adu in the FITS file.

it might make sense to avoid emitting this message if the units match? (cc @mwcraig)

Feature Request nddata good first issue
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

Enhancement ImageBuilding good first issue
kangalioo
kangalioo commented Jul 21, 2020

What is the feature ?

I'm trying out this library for the first time and there's some places where it would be delightful to have shorthand functions:

  1. Shorthand functions for Pos: Pos::top_right, Pos::bottom_right, Pos::bottom_center etc..
  2. Short way to set colors for components. Currently, lots of boilerplate is required for e.g. white-on-black plotos
    • a cool start would b

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