kammerje / fouriever Goto Github PK
View Code? Open in Web Editor NEWA single toolkit for calibrations, correlations, and companion search for kernel-phase, aperture masking, and long-baseline interferometry data.
A single toolkit for calibrations, correlations, and companion search for kernel-phase, aperture masking, and long-baseline interferometry data.
There is a lot of examples data in the repo, which is great! However, it makes cloning or installing Fouriever directly from github with pip very slow. I was wondering if there were other option available to store some of the data, maybe keeping one or two examples in the repo for quick tests, but making the bulk of the data available on another platform (OneDrive, Box, NextCloud, Dropbox, etc., or even a seaparate git repo, for example fouriever-data
).
I could contribute with the OneDrive storage I have at UdeM or by settings up another repo if you want @kammerje.
Hi @kammerje,
With the upcoming KPI pipeline for JWST and data starting to be available, it might be good to have an official release on PyPI to make it easier to:
fouriever
and install itfouriever
as a dependency to other projectsHappy to help with this if needed.
Currently, figures are saved and closed internally. It would be nice to have the option to show the figure as well (with a switch in the function argument, or to make the figure accessible for users, so they can show it with plt.show()
. This would especially nice for notebooks (e.g. the KPI Pipeline example).
Hi,
I encountered a few edge-cases when saving files I thought I'd combine in one issue:
caldir
) are assumed to end with a separator (/
) when combining them with file names. Depending on how users create the path (e.g. os.path
function or Path
objects), this could cause unexpected behaviour like /path/to/my/directorywithfile.ext
.str.rfind("/")
to find directory can sometimes be error-prone if users pass paths from os.path
function or Path
objects or work with Windows (sep=\
)ofile
for directory + file prefix can be confusing for users. I would have intuitively expected it to be the full file path or name (including extension).Regarding the last point above, maybe separating ofile
in something like odir
and file_id
that makes it clear what part is a (directory) path and what part is an ID used to generate file names would clarify things for new users? A potential way to implement would be to keep ofile and add new options for a future release, with a deprecation warning, and then fully replace a few releases after.
@kammerje let me know what you think of the above. Happy to send a PR implementing some or all of these suggestions.
Thank you!
The chi2map_sub
method will give the following error when chi2map
was not executed beforehand, even though the return from chi2map
was stored and used as input for chi2map_sub
:
KeyError: 'uu_smear'
Perhaps because chi2map_sub
requires an attribute that was created in chi2map
?
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.