Code Monkey home page Code Monkey logo

lusee_sky_simulations's Introduction

Tools for evaluating LuSEE-Night antenna models.

To install:

python -m venv .venv  # make virtual env
source .venv/bin/activate
python -m pip install .  # use .[dev] to get extra developer dependencies

See the guide for specific advice on installaing some of the dependencies.

lusee_sky_simulations's People

Contributors

christianhbye avatar dependabot[bot] avatar

Stargazers

 avatar

Watchers

 avatar

lusee_sky_simulations's Issues

type checking in uttils.parse_fits

parse_fits has a function (mk_linspace) that wraps numpy.linspace and causes mypy to complain due to more restrictive typing than the native numpy function. The dirty fix is to ignore typing for this function, but this is not a long-term solution.

Example (mypy throws error)

import numpy as np
def mk_linspace(start: float, stop: float, step: float) -> np.ndarray:
    num = (stop-start)//step + 1
    return np.linspace(start, stop, num)

Current fix:

def mk_linspace(start,: float stop: float, step: float):  -> np.ndarray # type: ignore

typecheck csv tools

The scripts in utils/csv_beams are not being type checked at the moment since they're not in use. Would be good to fix some time...

run_sim should be parallelizable

in general, check its utility and whether it might as well be replaced by the script provided by uvsim. The main problem with uvsim is that it doesn't discard the imaginary part.

update readme

move the ULSA stuff to its own file, add to readme (describe different files and the overall goal etc)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.