> For the complete documentation index, see [llms.txt](https://docs.ladybug.tools/ladybug-primer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ladybug.tools/ladybug-primer/components/1_analyzedata/apply_analysis_period.md).

# Apply Analysis Period

![](https://894783789-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LPHXQ1I3gb93zpLrLZf%2Fuploads%2Fgit-blob-b3f39b8b569c7bd64563fbf9ae1fee869ca5f088%2FApply_Analysis_Period.png?alt=media)

![](https://894783789-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LPHXQ1I3gb93zpLrLZf%2Fuploads%2Fgit-blob-6f2a26ec7ddaa3d2d4f1e5faefac7a1f6f527f2a%2FApply_Analysis_Period.png?alt=media) - [\[source code\]](https://github.com/ladybug-tools/ladybug-grasshopper/blob/master/ladybug_grasshopper/src//LB%20Apply%20Analysis%20Period.py)

Apply an analysis period to a data collection.

### Inputs

* **data \[Required]**

A Ladybug data collection object.

* **period \[Required]**

A Ladybug analysis period from the "LB AnalysisPeriod" component.

### Outputs

* **data**

The data collection with the analysis period applied to it.
