jfcrenshaw / photerr Goto Github PK
View Code? Open in Web Editor NEWPhotometric error model for astronomical imaging surveys
License: MIT License
Photometric error model for astronomical imaging surveys
License: MIT License
Add a github action for CI and add contributing docs
The indices of the errors are sequential, starting from 0. This creates problems when adding the errors back into the original DataFrame. For example,
import numpy as np
import pandas as pd
from photerr import LsstErrorModel
x = pd.DataFrame(np.arange(21, 30).reshape(-1, 1).astype(float), columns=["u"])
errM = LsstErrorModel()
errM(x.iloc[2:5], random_state=0)
yields
u u_err
2 22.998142 0.077355
3 24.004532 NaN
4 24.947432 NaN
0 NaN 0.014667
1 NaN 0.033837
rather than the expected
u u_err
2 22.998142 0.014667
3 24.004532 0.033837
4 24.947432 0.077355
I will fix this so that the errors have the correct indexing.
sigLim
should set the limit that flags non-detectionssigLim=0
should correspond to only negative fluxes flaggedndMode
should allow "flag" and "sigLim"absFlux
as a separate keyword should allow you to take the absolute magnitude of the fluxes. absFlux=True
combined with sigLim=0
creates the behavior of the previous ndMode="abs"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.