Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compare data fetching and caching strategies to expecto #87

Open
gully opened this issue Mar 29, 2023 · 2 comments
Open

Compare data fetching and caching strategies to expecto #87

gully opened this issue Mar 29, 2023 · 2 comments

Comments

@gully
Copy link
Member

gully commented Mar 29, 2023

I just noticed a code by @bmorris3 called expecto:

https://github.com/bmorris3/expecto

It's a really lightweight package to fetch PHOENIX models. We should check out the code to compare data fetching and caching strategies. Maybe make a docs page called "related software" or something.

@bmorris3
Copy link

bmorris3 commented Apr 3, 2023

Happy to chat if that's helpful! I suspect it won't be super helpful because gollum has a much broader scope.

We should check out the code to compare data fetching and caching strategies.

The fetching and caching is all handled by astropy.utils.data. The related expecto source code is really brief, see here.

In short, I think expecto is useful if you need a synthetic spectrum that's "better" than a blackbody, but don't care about interpolation. That's not useful for everyone (but it is for me). gollum does all the good/hard work that I dodged!

@gully
Copy link
Member Author

gully commented Apr 3, 2023

Neat, thanks for this guidance @bmorris3, I think the caching with astropy.utils.data could be useful, since we're hardcoding this ourselves at the moment. May be worth looking into. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants