Skip to content

Commit

Permalink
Update the tutorial to reflect the changes to the default post inject…
Browse files Browse the repository at this point in the history
…ion transform
  • Loading branch information
golmschenk committed Aug 27, 2024
1 parent c11cf7b commit 4ce0da1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/source/tutorials/crafting_standard_datasets.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ In the previous section, we only changed the length of that the uniform lengthen

```python
def default_light_curve_observation_post_injection_transform(x: LightCurveObservation, length: int, randomize: bool = True) -> (Tensor, Tensor):
x = remove_infinite_flux_data_points_from_light_curve_observation(x)
x = remove_nan_flux_data_points_from_light_curve_observation(x)
if randomize:
x = randomly_roll_light_curve_observation(x)
Expand Down

0 comments on commit 4ce0da1

Please sign in to comment.