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

One line function for basic usage #20

Open
hstewart93 opened this issue Jun 6, 2024 · 0 comments
Open

One line function for basic usage #20

hstewart93 opened this issue Jun 6, 2024 · 0 comments
Labels
first release requirement Feature required for MVP
Milestone

Comments

@hstewart93
Copy link
Owner

hstewart93 commented Jun 6, 2024

Put in the continunet.__init__py

"""ContinuNet package."""

from continunet.finder import Finder


def extract_sources(image, save_path, layers=4):
    """Extracts sources from image and saves outputs to specified directory."""
    finder = Finder("continunet/example_image.fits")
    finder.extract_sources()  # does source finding
    finder.export_sources(save_path)  # saves all outputs
    return finder
@hstewart93 hstewart93 converted this from a draft issue Jun 6, 2024
@hstewart93 hstewart93 added the first release requirement Feature required for MVP label Jun 6, 2024
@hstewart93 hstewart93 moved this from Backlog to Ready in ContinUNet Development Jun 6, 2024
@hstewart93 hstewart93 added this to the First Release milestone Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
first release requirement Feature required for MVP
Projects
Status: Ready
Development

No branches or pull requests

1 participant