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

Histogram of Query Results #263

Closed
francbelf opened this issue May 21, 2017 · 3 comments
Closed

Histogram of Query Results #263

francbelf opened this issue May 21, 2017 · 3 comments
Labels
enhancement indicates a new feature or functionality to be added marvin-api an issue related to the Marvin API marvin-tools an issue related to the suite of Marvin Python Tools priority-science

Comments

@francbelf
Copy link

This is not a bug, but rather a functionality request. I want to be able to do a spaxel query and then histogram the results. For example

from marvin.tools.query import doQuery
q, r = doQuery(searchfilter='nsa.sersic_logmass >= 10 and nsa.sersic_logmass <= 11', returnparams='emline_gflux_ha_6564')
df = r.toDF()

now I want to plot a histogram of df, but unfortunately df only contains the first 100 spaxels. How can I get all of the them in an easy way?

@bretthandrews bretthandrews added enhancement indicates a new feature or functionality to be added marvin-api an issue related to the Marvin API marvin-tools an issue related to the suite of Marvin Python Tools labels May 21, 2017
@bretthandrews bretthandrews changed the title query results analysis Histogram of Query Results May 21, 2017
@bretthandrews
Copy link
Contributor

@francbelf Returning all of the spaxels from a large query would be very expensive, but it might be possible to calculate the histogram on the server side and return just the histogram. Would that work for your use case?

@francbelf
Copy link
Author

francbelf commented May 21, 2017 via email

@havok2063
Copy link
Collaborator

Added in MPL6 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement indicates a new feature or functionality to be added marvin-api an issue related to the Marvin API marvin-tools an issue related to the suite of Marvin Python Tools priority-science
Projects
None yet
Development

No branches or pull requests

4 participants