question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add a way to have interact export the mask

See original GitHub issue

The new .interact() is great! It would be even better to have an option that allows reuse of the mask that was generated in the process. Issue #264 addresses conceivable ways that the mask could be saved.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
JeffLCoughlincommented, Nov 8, 2018

Maybe replace the .fits on the end with _custom_mask.fits ? Then there’s no assumption on delimeters in the filename.

outname = base.rsplit(‘.fits’)[0] + ‘_custom_mask.fits’

0reactions
barentsencommented, Dec 14, 2018

The interact() tool now has a Save lightcurve button which saves both the custom light curve and the aperture mask as a FITS file (cf. #329). Closing!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Combine multiple effect masks in Final Cut Pro
See Reorder masks, below. To change how a mask interacts with other masks applied to the effect, click the pop-up menu next to...
Read more >
Import or export layer mask image files | Mudbox 2019
Right-click the layer mask and select Export Selected from the menu that appears. A file browser appears, letting you save the mask as...
Read more >
Learn how to create a mask with shapes.
To edit the content within the mask shape, double-click the masked content. The masked area is not deleted from your project. You can...
Read more >
Sprite Masks
Sprite Masks are always in effect. Sprites to be affected by a Sprite Mask need to have their Mask Interaction set in the...
Read more >
Sentinel Toolbox Help - Mask Management
It also allows for creating new masks based on logical combinations of existing masks. Furthermore masks may be imported and exported. If an...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found